次のように配線されたBLE113チップがあります。
http://i.stack.imgur.com/bWj57.jpg
BLE113 ボードに電力が供給されていることを確認するために、ワイヤを介して電圧を測定しました。3.3V の一定の入力が必要です (これが必要です)。
Bluegiga の Web サイトとhttp://edisonthk.wordpress.com/2014/01/18/getting-started-with-developing-bluetooth-4-0-le-and-androidにある BGDemo プロジェクトを使用してチップをフラッシュしました。 -with-ble112-bluetooth-module/
bgdemo スクリプト:
dim addr(6)
# Boot Event listener
event system_boot(major ,minor ,patch ,build ,ll_version ,protocol_version ,hw )
#Get local BT address
call system_address_get( )(addr(0:6))
# Write BT address to DI service serial number string
call attributes_write(xgatt_dis_2a25,0,6,addr(0:5))
#set to advertising mode
call gap_set_mode(gap_general_discoverable,gap_undirected_connectable)
#set bondable mode
call sm_set_bondable_mode(1)
end
# Disconnection event listener
event connection_disconnected(handle,result)
#connection disconnected, continue advertising
call gap_set_mode(gap_general_discoverable,gap_undirected_connectable)
end
bgbuild でエラーは発生しませんでした。そして、チップを検出可能および接続可能としてマークしましたが、どの Bluetooth デバイスもチップを検出しません。なぜですか?