nkaminski / csrmesh

Reverse engineered bridge implementation of the CSRMesh BTLE protocol
GNU Lesser General Public License v3.0
70 stars 20 forks source link

Noob question: Teptron Move BTLE device ID #19

Closed mlava closed 7 years ago

mlava commented 7 years ago

Hi. Sorry to be a pain. Can you please advise how to obtain the device ID for my Move devices? Cheers!

t0mas commented 7 years ago

Do you mean the parameter for --dest or for --objid?

The dest parameter is the hardware ID of the device, which you can find if you search for Bluetooth devices. You should see a device named "CSRMesh" (at least that is the name my device uses), the hardware address of that is the input for the dest parameter.

The objid is something we haven't really figured out yet. In all devices I've seen it is numbered in the order in which the devices joined the network in the official app. So the first device has objid 1.

nkaminski commented 7 years ago

As the author of this application, the objid is a sequential count starting at 1 that is incremented in the order that devices are added to the network for device IDs and incremented in the order that groups are created for group IDs.

On 6/4/17 9:05 AM, Tomas wrote:

Do you mean the parameter for --dest or for --objid?

The dest parameter is the hardware ID of the device, which you can find if you search for Bluetooth devices. You should see a device named "CSRMesh" (at least that is the name my device uses), the hardware address of that is the input for the dest parameter.

The objid is something we haven't really figured out yet. In all devices I've seen it is numbered in the order in which the devices joined the network in the official app. So the first device has objid 1.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nkaminski/csrmesh/issues/19#issuecomment-306042058, or mute the thread https://github.com/notifications/unsubscribe-auth/ACXl4RoR7D9zcBMsK9OC8I0rANavAYyGks5sArm1gaJpZM4NvS9M.

mlava commented 7 years ago

Thank you both