mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-20 18:40:31 +00:00
example: revert accidental commit
This commit is contained in:
parent
98ef7bd9eb
commit
04d1de7f2d
@ -234,7 +234,7 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack
|
||||
break;
|
||||
|
||||
case RFCOMM_EVENT_CAN_SEND_NOW:
|
||||
// spp_send_packet();
|
||||
spp_send_packet();
|
||||
break;
|
||||
|
||||
case RFCOMM_EVENT_CHANNEL_CLOSED:
|
||||
@ -307,7 +307,6 @@ int btstack_main(int argc, const char * argv[])
|
||||
|
||||
gap_ssp_set_io_capability(SSP_IO_CAPABILITY_DISPLAY_YES_NO);
|
||||
gap_set_local_name("SPP Streamer 00:00:00:00:00:00");
|
||||
gap_set_bondable_mode(0);
|
||||
gap_discoverable_control(1);
|
||||
|
||||
spp_create_test_data();
|
||||
|
@ -339,7 +339,7 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack
|
||||
|
||||
#if (TEST_MODE & TEST_MODE_SEND)
|
||||
case RFCOMM_EVENT_CAN_SEND_NOW:
|
||||
// spp_send_packet();
|
||||
spp_send_packet();
|
||||
break;
|
||||
#endif
|
||||
|
||||
@ -405,7 +405,6 @@ int btstack_main(int argc, const char * argv[]){
|
||||
|
||||
// init SDP
|
||||
gap_ssp_set_io_capability(SSP_IO_CAPABILITY_DISPLAY_YES_NO);
|
||||
gap_set_bondable_mode(0);
|
||||
|
||||
// turn on!
|
||||
hci_power_control(HCI_POWER_ON);
|
||||
|
Loading…
x
Reference in New Issue
Block a user