-
Notifications
You must be signed in to change notification settings - Fork 2
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
Discussion and findings #6
Comments
Hi @Ylianst , thanks for your interest!
|
Thanks @khusmann
Again, this is amazing. Other manufacturers should follow with this Bluetooth API model. |
Oh! I did want to ask. There is a lot of DMR related stuff in this API, but my radio UV-Pro obviously does not have DMR. Is there a radio compatible with this API available with DMR? - Thanks. |
Ah yeah, REGISTER_NOTIFICATION is weird -- the app only ever sends is 0x01, and it seems to enable everything... Does 0x08 have any effect?
Yeah, long messages are broken into pieces in the same way that they do in received messages -- you get a sequence of fragments ending with a final fragment with the is_final_fragment flag set.
Thanks! I agree, I'd love to see other manufacturers providing similar bluetooth interfaces that we can hack on. Even better if they just released the API and we didn't have to decode it ourselves...
Nope, haven't found a device that supports DMR -- but it's supported by the app, as you can see by my work. If you can figure out which device in the wild does, please lmk! The only devices I'm aware of are listed on the front page:
|
So, REGISTER_NOTIFICATION did not send me the same error message with 0x08, but it did not work at all. I get no notifications. So, I did not go any further. 0x01 does seem to be the only value that really works. For fragments, yes, I assemble them the same way you do. I just did not work to fragmenting yet for outgoing traffic, but I will probably work on that this weekend. I really want to try my hand at larger file transfers and see how fast I can get it. My question was more with outgoing TNC traffic and how flow control works. I had already searched for all the radios in your list and searched for DMR is all the specification web pages for each radio and came up empty. It's probably an upcoming feature and that is great news. FYI. Based on your decoding work, I have been working on a Windows app that does APRS/SMS/Terminal... Once it's minimally working, I will push it as open source on GitHub. I went to a HAM meeting a few days back and demoed an early version. Oh, I also wanted to ask. Any way to get the current GPS location of the radio? - Thanks |
Hmmm did 0x00 give an error? Or maybe 0x01 toggles notifications? It seems weird if you can only turn them on and there's no way to turn them back off. The app doesn't give many hints, it just sends 0x01 one time and that's it.
Yeah, outgoing TNC traffic is exactly the same as incoming, as far as I've seen.
I think speed will be limited by the modulation of the data -- I'd expect the transfer rate to the device to be very fast compared to the packets going over the air.
Hmmm, I'm not so sure... I think it's more likely a radio out there we haven't found yet. But fingers crossed for it being an upcoming feature!
Very cool! I'd love to see it when you're ready! This is exactly the sort of thing I was hoping benlink would inspire. If you found my work helpful, I'd appreciate if you credit/link back to this project when you publish to help others find it & raise awareness -- similarly, I'd be happy to add a link to your project as well!
Not that I've seen! The HT app only sets the position of the radio's GPS via SET_POSITION... it never gets the radio's position, unfortunately... (it's still possible one of the unexplored cmds does this though, lmk if you find anything...) |
For the outbound flow control, since Bluetooth is likely going to go a lot faster than 1200 baud packets, I expect the radio to "push back" and hopefully give me a signal when the buffer is free for more frames. In any case, I will get to this at some point. I need to get all the basic stuff working. For credits, yes! I will not be shy to promote and link your page. I will send you an about box screenshot so you can give feedback ahead of release. My project would not exist without your work and so, it's on top of the list. I could still enable regular TNC support and probably will, but this integration makes it so much better. I will post back on this. For GPS location, that is too bad. Unlike phones, laptops do not generally have GPS location and that would be really nice to have. I would add it to the map and could compute distances to other stations, etc. No worries, I will do without for now. I just spend the last 6 hours+ just building the UI and support for editing channels. It was a huge amount of work, but got it working. |
Exactly. I wonder if you'll get a ReplyStatus with "INSUFFICIENT_RESOURCES", and then a "SUCCESS" when it's ready again -- I'm looking forward to hear the results of your tests!
Fantastic! Really appreciate it!
I agree! (As I looked through the messages again I just was reminded there's a CANCEL_NOTIFICATION message -- so that's likely how to turn notifications on and off)
Very cool! I'm super excited to try it out when it's ready! |
Hi. I have two of these radios and I really like this project. In my view, this opens up a lot more options for using these radios. I tried my hand at sending my own commands and have findings & questions.
In general, I am a lot more interesting in the full Bluetooth API than the KISS TNC which is very limiting. So, this is really amazing to see an attempt at documenting this API. This radio is ahead of the game.
The text was updated successfully, but these errors were encountered: