|
CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
|
Classes | |
| class | BleSerialModule |
| class | BleUartService |
Functions | |
| static void | bleOutputHook (const char *data, size_t len) |
| Console hook bridge between shell I/O and BLE UART transport. | |
| static bool | bleInputAvailableHook () |
| Console input-available hook using BLE UART RX queue. | |
| static int | bleInputGetcharHook () |
| Console getchar hook reading one byte from BLE UART. | |
Variables | |
| constexpr ui::I18nEntry | kStrings [] |
| static const uint8_t | NUS_SVC_UUID [16] |
| NUS UUIDs in little-endian byte order for BleUuid::from128. | |
| static const uint8_t | NUS_RX_UUID [16] |
| RX characteristic UUID (phone writes to badge). | |
| static const uint8_t | NUS_TX_UUID [16] |
| TX characteristic UUID (badge notifies phone). | |
|
static |
Console input-available hook using BLE UART RX queue.
Definition at line 50 of file BleSerialModule.cpp.
References cdc::mod_ble_serial::BleUartService::instance().
|
static |
Console getchar hook reading one byte from BLE UART.
Definition at line 59 of file BleSerialModule.cpp.
References cdc::mod_ble_serial::BleUartService::instance().
|
static |
Console hook bridge between shell I/O and BLE UART transport.
Console output hook that forwards bytes to the BLE UART service.
| data | Pointer to output bytes. |
| len | Number of bytes to forward. |
Definition at line 39 of file BleSerialModule.cpp.
References cdc::mod_ble_serial::BleUartService::instance().
|
constexpr |
Definition at line 21 of file BleSerialModule.cpp.
|
static |
RX characteristic UUID (phone writes to badge).
Definition at line 21 of file BleUartService.cpp.
Referenced by cdc::mod_ble_serial::BleUartService::init().
|
static |
NUS UUIDs in little-endian byte order for BleUuid::from128.
Definition at line 16 of file BleUartService.cpp.
Referenced by cdc::mod_ble_serial::BleUartService::deinit(), and cdc::mod_ble_serial::BleUartService::init().
|
static |
TX characteristic UUID (badge notifies phone).
Definition at line 26 of file BleUartService.cpp.
Referenced by cdc::mod_ble_serial::BleUartService::init().