Exemplo n.º 1
0
int main(void){
    sdp_query_rfcomm_register_callback(handle_query_rfcomm_event, NULL);

    btstack_setup();
    // go!
    run_loop_execute(); 
    return 0;
}
Exemplo n.º 2
0
// main
int main(void){

    hw_setup();

    btstack_setup();
    btstack_main(0, NULL);

    btstack_run_loop_execute();

    return 0;
}
Exemplo n.º 3
0
int main(void){
    sdp_parser_init();
    sdp_parser_register_callback(handle_general_sdp_parser_event);

    hw_setup();
    btstack_setup();

    // turn on!
    hci_power_control(HCI_POWER_ON);
    // go!
    run_loop_execute(); 
    return 0;
}
Exemplo n.º 4
0
int main(void){
    btstack_setup();
    setup_cli();
    run_loop_execute(); 
    return 0;
}