bluetooth - How to broadcast a custom action in android -
i new android programming bare me. writing application uses bluetooth capability. broadcast custom string , have devices listening, able receive string , proceed program. understand how capture broadcast(broadcastreceiver). issue "braodcasting" custom string(action). if point me in right direction, appreciated.
once bluetooth devices put operation, individual bluetooth controller sends within 2 seconds identify individual , unique 48-bit long mac address. in standby mode, unconnected listening devices @ distances of 2.56 seconds messages (scan mode) , check 32 hop frequencies. contact slaves made inquiry message, , page message if hardware address of device unknown. known address, first step wouldn't done. in page state, master sends 16 identical page messages on 16 different hopping frequencies determined slaves. after stations in connected state. average connection within half scan interval, eg 2.56 / 2 seconds (1.28 seconds) achieved.
Comments
Post a Comment