intel-iot-devkit / tinyb

TinyB exposes the BLE GATT API for C++, Java and other languages, using BlueZ over DBus.
MIT License
255 stars 114 forks source link

using tinyb on the peripheral side? #157

Open moe5k opened 5 years ago

moe5k commented 5 years ago

We would like to use it on the peripheral side on a raspi 3. So far i can see tinyb is only for the central side, right?

mikedanielcpt commented 5 years ago

Hi Moe

I have same question. How can i use tinyb on a helper/peripheral device, from which information is sent to central master device? Were you able to solve this?

Tx Mike

moe5k commented 5 years ago

Hi Mike, i used: https://github.com/nettlep/gobbledegook for that. good luck! Moe

mikedanielcpt commented 5 years ago

Hi Moe

Thank you so much.

I take it that there are no official java wrappers available? Have you developed any java wrappers that you are willing to share?

Kind regards Micah

On Thu, Mar 7, 2019 at 3:55 PM moe5k notifications@github.com wrote:

Hi Mike, i used: https://github.com/nettlep/gobbledegook for that. good luck! Moe

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intel-iot-devkit/tinyb/issues/157#issuecomment-470533925, or mute the thread https://github.com/notifications/unsubscribe-auth/AlIrID2g97JVVpMZBf9EYqpk4dOmKoeoks5vURpGgaJpZM4aMGUX .

moe5k commented 5 years ago

no , i just used it with c++ Moe

mikedanielcpt commented 5 years ago

Thanks, would be good to use it as dll from java native interface. Does it compile to dll?

On Thu, 07 Mar 2019, 6:12 PM moe5k, notifications@github.com wrote:

no , i just used it with c++ Moe

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intel-iot-devkit/tinyb/issues/157#issuecomment-470588708, or mute the thread https://github.com/notifications/unsubscribe-auth/AlIrIKrp5AuYVzFr3MaziZ1rW34UII5oks5vUTp-gaJpZM4aMGUX .

moe5k commented 5 years ago

no dll, using a raspi as peripheral

mikedanielcpt commented 5 years ago

Great. Thanks for the help. Going to try to wrap this in JNI, so that i can integrate it into my java code.

On Thu, Mar 7, 2019 at 8:14 PM moe5k notifications@github.com wrote:

no dll, using a raspi as peripheral

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intel-iot-devkit/tinyb/issues/157#issuecomment-470635510, or mute the thread https://github.com/notifications/unsubscribe-auth/AlIrIIKl0FpZhfRxKB710jY2U5uO8yNbks5vUVb8gaJpZM4aMGUX .

wredan commented 4 years ago

Hi Mike

Have you found an alternative to JNI or you solved your issue with it? I have the same problem, I need to use rasp as peripheral and use java.

mikedanielcpt commented 4 years ago

Hi

My project went cold. Gonna pick it up soon again. If you solve the issue , can you please share your experience with me? :) I will do the same.

Kind regards Mike

On Thu, 20 Aug 2020, 6:09 PM Danilo Santitto, notifications@github.com wrote:

Hi Mike

Have you found an alternative to JNI or you solved your issue with it? I have the same problem, I need to use rasp as peripheral and use java.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intel-iot-devkit/tinyb/issues/157#issuecomment-677757976, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJJCWIB6PZCDCQAQIS2A4LDSBVDCPANCNFSM4GRQMULQ .