Comment supervisor ble data arrays.
This commit is contained in:
parent
17c8356b8c
commit
e8a54eacaa
|
@ -51,8 +51,12 @@ bleio_characteristic_obj_t supervisor_ble_length_characteristic;
|
|||
bleio_uuid_obj_t supervisor_ble_length_uuid;
|
||||
bleio_characteristic_obj_t supervisor_ble_contents_characteristic;
|
||||
bleio_uuid_obj_t supervisor_ble_contents_uuid;
|
||||
|
||||
// This is the base UUID for CircuitPython services and characteristics.
|
||||
const uint8_t circuitpython_base_uuid[16] = {0x6e, 0x68, 0x74, 0x79, 0x50, 0x74, 0x69, 0x75, 0x63, 0x72, 0x69, 0x43, 0x00, 0x00, 0xaf, 0xad };
|
||||
// This standard advertisement advertises the CircuitPython editing service and a CIRCUITPY short name.
|
||||
uint8_t circuitpython_advertising_data[] = { 0x02, 0x01, 0x06, 0x02, 0x0a, 0x00, 0x11, 0x07, 0x6e, 0x68, 0x74, 0x79, 0x50, 0x74, 0x69, 0x75, 0x63, 0x72, 0x69, 0x43, 0x00, 0x01, 0xaf, 0xad, 0x06, 0x08, 0x43, 0x49, 0x52, 0x43, 0x55 };
|
||||
// This scan response advertises the full CIRCUITPYXXXX device name.
|
||||
uint8_t circuitpython_scan_response_data[15] = {0x0e, 0x09, 0x43, 0x49, 0x52, 0x43, 0x55, 0x49, 0x54, 0x50, 0x59, 0x00, 0x00, 0x00, 0x00};
|
||||
mp_obj_list_t service_list;
|
||||
mp_obj_t service_list_items[1];
|
||||
|
|
Loading…
Reference in New Issue