Skip to content

Not working on B35T #3

@a-v-s

Description

@a-v-s

On line 490 it says

    // changed this from 43 bytes to 19 (which is what this clamp-meter uses for gatttool payload string
    if (strlen(p) != owon_length) {
      //if (g.debug) printf("strlen not correct, skipping\n");
      continue;
    }

My OWON B35T appears to return an strlen of 42 here. It appears to be using a different protocol.
Some sample data from my multimeter

Notification handle = 0x002e value: 2b 33 37 31 34 20 34 31 00 40 80 25 0d 0a 
Notification handle = 0x002e value: 2b 33 37 31 31 20 34 31 00 40 80 24 0d 0a 
Notification handle = 0x002e value: 2b 33 37 31 30 20 34 31 00 40 80 25 0d 0a 
Notification handle = 0x002e value: 2b 33 37 30 38 20 34 31 00 40 80 25 0d 0a 
Notification handle = 0x002e value: 2b 33 37 30 38 20 34 31 00 40 80 25 0d 0a 
Notification handle = 0x002e value: 2b 33 37 30 36 20 34 31 00 40 80 25 0d 0a 
Notification handle = 0x002e value: 2b 33 37 30 36 20 34 31 00 40 80 24 0d 0a 
Notification handle = 0x002e value: 2b 33 37 30 34 20 34 31 00 40 80 25 0d 0a 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions