Disabling Discovery
Posted: Wed Apr 29, 2026 8:09 pm
I'm running the MODM7AE70 in several products and many of my customers are particular about security. To that end I've got a customer that noticed one of our units sending beacons to discover.netburner.com. I understand that this is intended operation but I need to prevent this.
I'm using the following code which I assume is proper:
firstInterface = GetInterfaceBlock(GetFirstInterface());
firstInterface->discovery_interval = 0;
firstInterface->discovery_server = "";
OSTimeDly(TICKS_PER_SECOND*2);
OSLock();
SaveConfigToStorage(); // This saves Netburner system parameters including IP info
OSUnlock();
It appears that running this code once sets the beacon interval to 0 (off) and also erases the associated URL. The "SaveConfigToStorage()" makes it permanent unless I do a factory reset to the device. I'm not clear what "obfuscate_discovery" is doing but it does not appear that I need to change it to turn off discovery.
Okay so far?
I'd also like to be able to disable the automatic response when using "Find" from IPSetup. I'm assuming this is akin to a ping response. I don't see this in the interface block. I realize that this means if a user loses the IP address of the device they will have to do an application factory reset which I default to a known IP address. Any way to hide the device from IPSetup?
Thanks!
John
I'm using the following code which I assume is proper:
firstInterface = GetInterfaceBlock(GetFirstInterface());
firstInterface->discovery_interval = 0;
firstInterface->discovery_server = "";
OSTimeDly(TICKS_PER_SECOND*2);
OSLock();
SaveConfigToStorage(); // This saves Netburner system parameters including IP info
OSUnlock();
It appears that running this code once sets the beacon interval to 0 (off) and also erases the associated URL. The "SaveConfigToStorage()" makes it permanent unless I do a factory reset to the device. I'm not clear what "obfuscate_discovery" is doing but it does not appear that I need to change it to turn off discovery.
Okay so far?
I'd also like to be able to disable the automatic response when using "Find" from IPSetup. I'm assuming this is akin to a ping response. I don't see this in the interface block. I realize that this means if a user loses the IP address of the device they will have to do an application factory reset which I default to a known IP address. Any way to hide the device from IPSetup?
Thanks!
John