Hello, I recently purchased an "Metrahit Ultra BT" DMM, which is able to communicate via Bluetooth. By use of "rfcom" and "btmon", I was able to do some rudimentary communication. First of all, one has to connect to the device as with every other BT device by using "bluetoothctl" (scan, trust, pair), than we can create a Link to the DMM with "sudo rfcomm bind rfcomm0 00:07:80:xx:yy:zz" which genereates /dev/rfcomm0
I then tried "sigrok-cli --driver=gmc-mh-1x-2x-rs232:conn=/dev/rfcomm0" which didn't work at all. However, if I printf some commands into /dev/rfcomm0, I obtain valid answers: printf "%s\n\r" "IDN?" >/dev/rfcomm0 (the "\n\r" seems to be very mandantory!) answer in btmon: Address: 0x09 cr 0 dlci 0x02 Control: 0xef poll/final 0 Length: 1 FCS: 0x40 47 40 G@ ... 4d 43 2c 4d 45 54 52 41 48 49 54 20 55 4c 54 52 MC,METRAHIT ULTR 41 20 42 54 2c 49 44 45 4e 54 20 4e 4f 2e 3a 20 A BT,IDENT NO.: 4d 32 34 38 42 2c 53 45 52 49 41 4c 20 4e 4f 2e M248B,SERIAL NO. ... or to get a value from the DMM: command: printf "%s\n\r" "SENS:VOLT:ACDC:AUTO" >/dev/rfcomm0 answer: 4f 40 O@ 4b 0d 0a 40 K..@ command: printf "%s\n\r" "VAL:L?" >/dev/rfcomm0 answer: 30 40 0@ 2c 30 2c 56 41 43 44 43 2c 30 2e 33 45 2b 31 0d ,0,VACDC,0.3E+1. 0a 40 .@ The commands send to the device are adopted from the document "METRAHIT ENERGY – Interface Protokoll (MaBe 2010-08-27)", which can be found on the net. I requested the specific Protocol for the ULTRA from GMC, but no response. Now to the question: Obviously there is no support yet for ULTRA BT in sigrok. What would be the nearest starting point to get startet with some implementation? I guess Agilent-DMM driver? Any other ideas? Best regards, Mülly _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel