mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 10:21:49 +00:00
updated remote names of SPP examples
This commit is contained in:
parent
5aad22c32c
commit
6189f80986
@ -132,7 +132,7 @@ static void packet_handler (void * connection, uint8_t packet_type, uint16_t cha
|
||||
case INIT:
|
||||
// bt stack activated, get started - set local name
|
||||
if (packet[2] == HCI_STATE_WORKING) {
|
||||
hci_send_cmd(&hci_write_local_name, "BlueMSP-Demo");
|
||||
hci_send_cmd(&hci_write_local_name, "BTstack SPP Sensor");
|
||||
state = W4_CONNECTION;
|
||||
}
|
||||
break;
|
||||
|
@ -78,7 +78,7 @@ static void packet_handler (uint8_t packet_type, uint8_t *packet, uint16_t size)
|
||||
case INIT:
|
||||
// bt stack activated, get started - set local name
|
||||
if (packet[2] == HCI_STATE_WORKING) {
|
||||
hci_send_cmd(&hci_write_local_name, "BlueMSP-Demo");
|
||||
hci_send_cmd(&hci_write_local_name, "BTstack SPP Counter");
|
||||
state = W4_CONNECTION;
|
||||
}
|
||||
break;
|
||||
|
@ -67,7 +67,7 @@ static void packet_handler (void * connection, uint8_t packet_type, uint16_t cha
|
||||
case BTSTACK_EVENT_STATE:
|
||||
// bt stack activated, get started - set local name
|
||||
if (packet[2] == HCI_STATE_WORKING) {
|
||||
hci_send_cmd(&hci_write_local_name, "BlueMSP-Demo");
|
||||
hci_send_cmd(&hci_write_local_name, "BTstack SPP Flow Control");
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user