-
Notifications
You must be signed in to change notification settings - Fork 631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flight Controller Serial Number #71
Comments
|
|
As I remember, there are some bytes describing drone's UID in the ack of (0x00, 0x00): Get Protocal Version. You can printf the ack result to check. |
Ahh got it, thanks
|
@a2hill does it satisfy your requirement? how is everything now? |
@lanyusea I've been looking at VersionData returned from getDroneVersion and unfortunately it seems to be empty. Do I need to send a 0x00 0x00 and parse the ACK manually? |
@a2hill what flight controller and firmware are you using? |
@rohitsantdji M100 with firmware 1.1.0.10+ |
We will be releasing a hotfix soon that should take care of this issue. For now, please use the void-return-type getDroneVersion with your own callback as an argument (you can look at getDroneVersionCallback in DJI_API.cpp and implement something very similar, except instead of printing out values using API_LOG you can execute your own logic). |
Great thanks this worked as far as getting the data! So can the version ID returned be used as a UID of the aircraft? |
Great! yes, it can. |
…nsing to develop * commit '05cb9c04263ae0d8c37bf53b917d4bb4606647d9': fix:fix compile issue fix:adapting advanced-sensing
Not sure if I'm overlooking it, but is there no way to query the serial number from the Flight Controller?
The text was updated successfully, but these errors were encountered: