andengineering / A-D-HDP-Android-Demo

Sample App for connect Android device to A&D Continua Device
www.andonline.com
28 stars 18 forks source link

Similar demo code for the UC-321PBT-C - Precision Weighing Scales #4

Open kenneththorman opened 10 years ago

kenneththorman commented 10 years ago

Hi

I have been looking around since I need to be able to read measurement values from both the UA-767PBT-C - Digital Blood Pressure Monitor and the UC-321PBT-C - Precision Weighing Scales.

Is there any known sample of interacting with the UC-321PBT-C - Precision Weighing Scales, that you know of, or could you help identifying/specifying the "Magic Byte" part of the code relevant for the UC-321PBT-C - Precision Weighing Scales?

Regards and thank you in advance Kenneth Thorman

nunoar commented 10 years ago

I can help with the UC-321PBT-C. I will get the code on github this week or the next.

kenneththorman commented 10 years ago

Hi Nunoar

Thank you very much this is greatly appreciated.

Regards Kenneth Thorman

kenneththorman commented 10 years ago

Hi Nunoar

I know that this is probably premature and me pushing my luck, but by chance did you have any opportunity to have a look at creating some code for the UC-321PBT-C - Precision Weighing Scales device?

Thank you in advance.

Regards Kenneth Thorman

nunoar commented 10 years ago

Hello Kenneth,

Sure, check it here: https://github.com/nunoar/AND-UC-321PBT-C-Precision-Health-Scale/tree/develop

regards, Nuno

kenneththorman commented 10 years ago

Hello Nunoar

Thank you very much, I really appreciate it.

Regards Kenneth

kenneththorman commented 10 years ago

Hi Nunoar

I need to implement the support for the proprietary version of the Scales as well

UC-321PBT

I have been looking everywhere to see if I can purchase an SDK somewhere, can you guide me to a link where I can purchase the SDK?

Regards Kenneth

nunoar commented 10 years ago

I can't help with that. Maybe someone from A&D can help you. I'd try sending them an email.

vidyajejurkar commented 8 years ago

I m trying to ru n this app..app runs properly but it shows weight of user 0.0 kg why it happens??

nunoar commented 8 years ago

Hello, do you have the scale set to Kg?

vidyajejurkar commented 8 years ago

yes

On Mon, Apr 11, 2016 at 3:32 PM, Nuno Rebelo notifications@github.com wrote:

Hello, do you have the scale set to Kg?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/andengineering/A-D-HDP-Android-Demo/issues/4#issuecomment-208265182

nunoar commented 8 years ago

I never had that issue, maybe try and get hold of someone from A&D through email.

vidyajejurkar commented 8 years ago

means weight scale set always in lb???/

On Mon, Apr 11, 2016 at 3:39 PM, Nuno Rebelo notifications@github.com wrote:

I never had that issue, maybe try and get hold of someone from A&D through email.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/andengineering/A-D-HDP-Android-Demo/issues/4#issuecomment-208266710

nunoar commented 8 years ago

No, but it has a button on the back where you can set it to Kg or Lb. I believe this code works for Kgs, but I'm not sure if it does for Lbs.It was just a wild guess. I don't have a weight scale to test anymore, anyway.

vidyajejurkar commented 8 years ago

Hi Nunoar, can u plz tell me how to parse data.i got follwing output.

04-15 14:48:59.462: D/BluetoothHDPService(5245): BluetoothHDPService is running. 04-15 14:48:59.472: I/Timeline(5245): Timeline: Activity_idle id: android.os.BinderProxy@1ef91dc3 time:267485458 04-15 14:49:04.952: D/BluetoothHealthActivity(5245): STATUS_CREATE_CHANNEl enabled 04-15 14:49:04.962: I/System.out(5245): result1:- -30 result2:- 0 04-15 14:49:04.962: I/System.out(5245): result :- -7680 04-15 14:49:04.962: I/System.out(5245): byte to ascii:- [ ? ?? ?? 2 ? ?? ?? ?? ??  ?? * P y ?? & ? ?? ?? ?? ? ?? ? ?? ?? ?? ?? ?? ?? ?? ?? ? ?? ?? ??  ??  ? ? ? l ? @ ?? ??   ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?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?? ?? ?? ?? ] 04-15 14:49:04.962: I/System.out(5245): byte data?????2???????????*Py??&???????????????????????????????????? ???l?@?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? 04-15 14:49:04.972: I/System.out(5245): hs:- e2000032800000000001002a50790026800000008000800000000000000000800000000800091ffffe806cac400000010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 04-15 14:49:04.972: I/System.out(5245): test:- e2000032800000000001002a50790026800000008000800000000000000000800000000800091ffffe806cac400000010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 04-15 14:49:04.972: I/System.out(5245): in if 04-15 14:49:04.982: I/System.out(5245): mac str::- 14 04-15 14:49:04.982: I/System.out(5245): mac str::- 32 04-15 14:49:04.982: I/System.out(5245): mac str::- D1 04-15 14:49:04.982: I/System.out(5245): mac str::- 22 04-15 14:49:04.982: I/System.out(5245): mac str::- 75 04-15 14:49:04.982: I/System.out(5245): mac str::- 80 04-15 14:49:04.982: I/System.out(5245): byte to string 2?"u? 04-15 14:49:04.982: I/BluetoothHDPService(5245): 1 04-15 14:49:04.982: I/BluetoothHDPService(5245): Association Responsed! 04-15 14:49:05.072: I/System.out(5245): mac str::- 14 04-15 14:49:05.072: I/System.out(5245): mac str::- 32 04-15 14:49:05.072: I/System.out(5245): mac str::- D1 04-15 14:49:05.072: I/System.out(5245): mac str::- 22 04-15 14:49:05.072: I/System.out(5245): mac str::- 75 04-15 14:49:05.072: I/System.out(5245): mac str::- 80 04-15 14:49:05.072: I/System.out(5245): byte to string 2?"u? 04-15 14:49:05.072: I/BluetoothHDPService(5245): 2 04-15 14:49:05.082: I/BluetoothHDPService(5245): Get MDS object attributes! 04-15 14:49:05.232: I/System.out(5245): result1:- -25 result2:- 0 04-15 14:49:05.232: I/System.out(5245): result :- -6400 04-15 14:49:05.232: I/System.out(5245): byte to ascii:- [ ? ?? ?? & ?? $  ??   ??  ?? ?? ? ? ? ? CR  ??  ? ?? ?? ?? ??  ?? ?? e ??  ??  LF L ??  ??  ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 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? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ] 04-15 14:49:05.232: I/System.out(5245): byte data?????&??$???????????? ????????????? ??e???? 04-15 14:49:05.232: I/System.out(5245): L???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? 04-15 14:49:05.242: I/System.out(5245): hs:- e7000026002410000101001e0000ffffffff0d1e0014f00000000001000c0065000100060a4c000200010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 04-15 14:49:05.242: I/System.out(5245): test:- e7000026002410000101001e0000ffffffff0d1e0014f00000000001000c0065000100060a4c000200010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 04-15 14:49:05.242: I/System.out(5245): in else 04-15 14:49:05.242: I/System.out(5245): in else if 04-15 14:49:05.252: I/System.out(5245): mac str::- 14 04-15 14:49:05.252: I/System.out(5245): mac str::- 32 04-15 14:49:05.252: I/System.out(5245): mac str::- D1 04-15 14:49:05.252: I/System.out(5245): mac str::- 22 04-15 14:49:05.252: I/System.out(5245): mac str::- 75 04-15 14:49:05.252: I/System.out(5245): mac str::- 80 04-15 14:49:05.252: I/System.out(5245): byte to string 2?"u? 04-15 14:49:05.252: I/BluetoothHDPService(5245): 3 04-15 14:49:05.252: I/BluetoothHDPService(5245): Data Responsed! 04-15 14:49:05.282: I/System.out(5245): result1:- -25 result2:- 0 04-15 14:49:05.282: I/System.out(5245): result :- -6400 04-15 14:49:05.282: I/System.out(5245): byte to ascii:- [ ? ?? ?? 0 ?? .     ?? ( ?? ?? ? ? ? ? CR  ??  ? ?? ??  ??  ??  ??  ??  ??  ??  ?? ? ?? ?? ?       ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ] 04-15 14:49:05.282: I/System.out(5245): byte data?????0??.??(???????? ????????????????????? ?????? ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? 04-15 14:49:05.282: I/System.out(5245): hs:- e7000030002e1001010100280000ffffffff0d1f001ef0000001000100160001000100100001000cfe0000d2201604151202170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 04-15 14:49:05.282: I/System.out(5245): test:- e7000030002e1001010100280000ffffffff0d1f001ef0000001000100160001000100100001000cfe0000d2201604151202170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 04-15 14:49:05.282: I/System.out(5245): in else 04-15 14:49:05.282: I/System.out(5245): in else else 04-15 14:49:05.322: I/System.out(5245): result1:- -25 result2:- 0 04-15 14:49:05.322: I/System.out(5245): result :- -6400 04-15 14:49:05.322: I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?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ] 04-15 14:49:05.322: I/System.out(5245): byte data?????????4????????? 04-15 14:49:05.322: I/System.out(5245): ??? 04-15 14:49:05.322: I/System.out(5245): Z???????? (???? A&D Medical???? UC-351PBT-Ci ??? 04-15 14:49:05.322: I/System.out(5245): ???? ???l? 04-15 14:49:05.322: I/System.out(5245): D??@?? -??(????$???????? 04-15 14:49:05.322: I/System.out(5245): 5131200068????????3.6.8 tag-996M ??? I ?? 04-15 14:49:05.322: I/System.out(5245): K????????????@?????? 04-15 14:49:05.322: I/System.out(5245): E???????????d???????????? U??@?? ?????d???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? 04-15 14:49:05.322: I/System.out(5245): hs:- e70000c000be1234020300b80000000a00b20a5a000800010004100f00010928001c000c412644204d65646963616c00000c55432d3335315042542d43690984000a000800091ffffe806cac0a4400024000092d00280002002400010000000a3531333132303030363800050000000e332e362e38207461672d3939364d0987000820160415144920000a4b00160002001202010008010500010002400f0202000200000a450010c0101f00ffffffff0064000000000000095500024000099c0002006400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 04-15 14:49:05.322: I/System.out(5245): test:- e70000c000be1234020300b80000000a00b20a5a000800010004100f00010928001c000c412644204d65646963616c00000c55432d3335315042542d43690984000a000800091ffffe806cac0a4400024000092d00280002002400010000000a3531333132303030363800050000000e332e362e38207461672d3939364d0987000820160415144920000a4b00160002001202010008010500010002400f0202000200000a450010c0101f00ffffffff0064000000000000095500024000099c0002006400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 04-15 14:49:05.322: I/System.out(5245): in else 04-15 14:49:05.322: I/System.out(5245): in else else 04-15 14:49:08.282: I/System.out(5245): result1:- -26 result2:- 0 04-15 14:49:08.282: I/System.out(5245): result :- -6656 04-15 14:49:08.282: I/System.out(5245): byte to ascii:- [ ? ?? ??  ??  ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 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? ?? ?? ?? ?? ?? ?? ?? ?? ] 04-15 14:49:08.282: I/System.out(5245): byte data??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? 04-15 14:49:08.282: D/BluetoothHDPService(5245): I'm in State Channel Disconnected. 04-15 14:49:08.302: I/System.out(5245): hs:- e600000200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 04-15 14:49:08.302: I/System.out(5245): test:- e600000200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 04-15 14:49:08.412: I/com.harman.btconnection.BluetoothHDPActivity$RestConnection(5245): {"measurement_date":"15\/04\/2016","measurement_time":"14:49:08","at0024":"sampleWS","at0004":0} 04-15 14:49:08.412: I/System.out(5245): vvvvvhttps://ge.evida.pt/weight?access_token= 04-15 14:49:08.412: W/System.err(5245): java.net.URISyntaxException: Illegal character in query at index 40: https://ge.evida.pt/weight?access_token= 04-15 14:49:08.422: W/System.err(5245): at libcore.net.UriCodec.validate(UriCodec.java:63) 04-15 14:49:08.422: W/System.err(5245): at java.net.URI.parseURI(URI.java:406) 04-15 14:49:08.422: W/System.err(5245): at java.net.URI.(URI.java:204) 04-15 14:49:08.422: W/System.err(5245): at utils.RestClient.executeHttpOauthPost(RestClient.java:27) 04-15 14:49:08.422: W/System.err(5245): at com.harman.btconnection.BluetoothHDPActivity$RestConnection.doInBackground(BluetoothHDPActivity.java:494) 04-15 14:49:08.422: W/System.err(5245): at com.harman.btconnection.BluetoothHDPActivity$RestConnection.doInBackground(BluetoothHDPActivity.java:1) 04-15 14:49:08.422: W/System.err(5245): at android.os.AsyncTask$2.call(AsyncTask.java:288) 04-15 14:49:08.422: W/System.err(5245): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 04-15 14:49:08.422: W/System.err(5245): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) 04-15 14:49:08.422: W/System.err(5245): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 04-15 14:49:08.422: W/System.err(5245): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 04-15 14:49:08.422: W/System.err(5245): at java.lang.Thread.run(Thread.java:818) 04-15 14:49:08.422: E/com.harman.btconnection.BluetoothHDPActivity$RestConnection(5245): Post error:BloodPressure 04-15 14:49:08.422: I/com.harman.btconnection.BluetoothHDPActivity$RestConnection(5245): BloodPressure

how to parse data????

kenneththorman commented 8 years ago

Hi

I am not sure I am allowed to close this issue, but this specific issue was resolved in the repository https://github.com/nunoar/Android-HDP-AND-UC-321PBT-C-Precision-Health-Scale

So I think based on the issue title it can be closed?

Regards Kenneth Thorman