Home
last modified time | relevance | path

Searched refs:ble_state (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/samples/boards/bbc/microbit/pong/src/
Dble.c68 } ble_state; variable
241 if (ble_state == BLE_ADVERTISING) { in connected()
255 ble_state = BLE_CONNECTED; in connected()
271 if (ble_state == BLE_CONNECTED) { in disconnected()
272 ble_state = BLE_DISCONNECTED; in disconnected()
284 if (ble_state != BLE_DISCONNECTED) { in ble_connect()
289 ble_state = BLE_SCAN_START; in ble_connect()
297 switch (ble_state) { in ble_cancel_connect()
299 ble_state = BLE_DISCONNECTED; in ble_cancel_connect()
312 ble_state = BLE_DISCONNECTED; in ble_cancel_connect()
[all …]