* T1000e BLE - default node name is now the MAC address

This commit is contained in:
Scott Powell
2026-01-23 15:53:58 +11:00
parent 616eb57b16
commit 3c27132914
7 changed files with 47 additions and 17 deletions

View File

@@ -61,7 +61,13 @@ public:
send_queue_len = recv_queue_len = 0;
}
void begin(const char* device_name, uint32_t pin_code);
/**
* init the BLE interface.
* @param prefix a prefix for the device name
* @param name IN/OUT - a name for the device (combined with prefix). If "@@MAC", is modified and returned
* @param pin_code the BLE security pin
*/
void begin(const char* prefix, char* name, uint32_t pin_code);
// BaseSerialInterface methods
void enable() override;