How can I add extra variables to be sent to the android app from the crazyflie when connected via BLE link? If anyone can tell me the exact place in the crazyflie and android packages, it would be great help for me!
Also, if I want to send variables from android app to the crazyflie back, then what package and where it needs to be changed?
Thanks in advance!
Adding extra variables to be sent to android client
-
- Beginner
- Posts: 8
- Joined: Thu Aug 03, 2017 5:46 am
Re: Adding extra variables to be sent to android client
There is an implementation of log and params in the Crazyflie android client using the Crazyradio but what is missing is the radio downlink over BLE. Currently using BLE the client can only send packets, it cannot receive any. In order to get log/param to work we need to implement the BLE downlink.
It is already implemented in the ios client (for the bootloader) so if you are interested to look at that I can point out the code in the ios client that should be translated to the android client.
It is already implemented in the ios client (for the bootloader) so if you are interested to look at that I can point out the code in the ios client that should be translated to the android client.
-
- Beginner
- Posts: 8
- Joined: Thu Aug 03, 2017 5:46 am
Re: Adding extra variables to be sent to android client
As of now, can you tell me how and where to add a variable on the android client (like android phones's temp sensor output) to be sent to the crazyflie, and then where exactly it can be collected in the crazyflie packages?
Re: Adding extra variables to be sent to android client
For the record: I think I answered in your other thread: viewtopic.php?f=11&t=2582&p=13093#p13096