Hi, I want to read data ,wich is sent from beacon ,using usb dongle,and after this ,I want to send data received from beacon to pc through serial port. Exist any example for this?
Thanks in advance
Hi, I want to read data ,wich is sent from beacon ,using usb dongle,and after this ,I want to send data received from beacon to pc through serial port. Exist any example for this?
Thanks in advance
Hi,
Maybe the "UART/Serial Port Emulation over BLE" is a good start. In the example, Nordic Semiconductor's development board serves as a peer to the phone application "nRF UART", which is available for iOS from Apple Store and for Android from Google Play.
Then you can move on to the ble_app_uart_c example found on github which can be used in conjunction with the UART serial port emulation example from SDK v8.0.0.
Maybe just use s120 with serialization?
Thanks Martin for your solution. I found ble-sniffer and wireshark,but I do not know how can save the content of messages(data byte).After I will want to represent graphically a certain byte received.Is this a solution(wireshark)?it can do so while receiving messages?Or it is easier to use solution proposed by you?
You want to receive data and plot them in a graph? Wireshark is for sniffing, i.e. it is a tool for technical analysis of the content of bluetooth packets. I don't think you can use it for plotting data from your device.
If you want to make an application that graphs/displays your data sent from your beacon on a PC you need something else. The example on github enables you to send your received data via UART, for instance to a COM port on your PC. Then you will need software on the PC side to get this data somehow and we don't provide that sort of software.