MCPcopy Create free account
hub / github.com/cifertech/nRFBox / changeDeviceTypeNext

Function changeDeviceTypeNext

VScode Platformio/src/spoofer.cpp:299–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297}
298
299void changeDeviceTypeNext() {
300 deviceType++;
301 if (deviceType > 26) deviceType = 1;
302 Serial.println("Device Type Next: " + String(deviceType));
303 setAdvertisingData();
304 updateDisplay();
305}
306
307void changeDeviceTypePrev() {
308 deviceType--;

Callers

nothing calls this directly

Calls 2

setAdvertisingDataFunction · 0.70
updateDisplayFunction · 0.70

Tested by

no test coverage detected