Integrate shared C transport with desktop and Android frontends, add radio probes and detailed Windows diagnostics, and fix GUI build dependencies and early configuration startup errors.
11 lines
628 B
C
11 lines
628 B
C
/* Android BLE lifetime: detach вызывается в worker перед уничтожением instance/uasync.
|
|
* Радио живёт за JNI; транспорт и ll_queue принадлежат worker. */
|
|
#ifndef ANDROID_BLE_H
|
|
#define ANDROID_BLE_H
|
|
struct ble_transport;
|
|
/* Заимствованный общий C handle либо NULL. Только поток ядра, действителен до detach.
|
|
* TX/RX — ble_tx_put/ble_rx_get; потребитель освобождает извлечённые ll_entry. */
|
|
struct ble_transport* android_ble_transport(void);
|
|
void android_ble_detach(void);
|
|
#endif
|