2016년 12월 8일 목요일

Issue with sending data with BLE extension


I've implemented the BluetoothLE_workshop example I've found in other topics with some revisions and have successfully gotten the app to connect/disconnect with my BLE Bluetooth device (Adafruit BluefruitLE), but I'm trying to send a simple value to the device and get Runtime Error: Invalid long: "E0A9" each time. I'm new to bluetooth and App Inventor, so please excuse me if I've done something obviously wrong.

I've attached my aia file and a screen capture of the error.
Screen Shot 2016-12-08 at 2.52.32 AM.png 표시 중


-- 
Looking at what you are doing I would suspect your issue is that you have text box as the "Value" for WriteIntValue. Try changing that a number entry box from under the Math section.

I've implemented the BluetoothLE_workshop example I've found in other topics with some revisions and have successfully gotten the app to connect/disconnect with my BLE Bluetooth device (Adafruit BluefruitLE), but I'm trying to send a simple value to the device and get Runtime Error: Invalid long: "E0A9" each time. I'm new to bluetooth and App Inventor, so please excuse me if I've done something obviously wrong.

I've attached my aia file and a screen capture of the error.

-- 


댓글 없음:

댓글 쓰기