Hi @phec,
You can totally do this! The core advertises itself during listening mode as “CC3000”, if you wanted to set your own name and advertise occasionally in your code, you could do something like:
char my_device_name[] = "SparkyBadger";
void setup() {
unsigned char idx = 0;
while (idx < 3)
{
mdnsAdvertiser(1,my_device_name,strlen(my_device_name));
idx++;
}
}
I’m not 100% sure what your router is looking for here, it might be Netbios. The code I provided will do mDNS, or “Bonjour” which most modern computers can hear and deal with. You’d just want to send out an advertisement packet every few minutes or so, so computers just waking up will hear it.
Thanks,
David