1

Hey Socket Mobile team,

I was wondering if you have plans on integrating with Web Bluetooth. I've tried connecting to my Socket Mobile D750 from chrome://bluetooth-internals on Chrome version 59.0 but I'm getting an error that says Unsupported_Device.

I have the scanner in HID mode. Chrome's documentation says that it supports BLE 4.0, but I couldn't find which version of BLE your scanners have.

russelh15
  • 51
  • 3

1 Answers1

0

No plans right now.

At the time of writing, none of our barcode scanners have BLE. The recently announced D600 RFID reader uses BLE and supports reading using HID mode or a GATT profile - but you wouldn't be able to write tags

However, the upcoming Capture SDK uses HTTP on Android and Windows to communicate between your app and the service. If you are targeting those platforms and are okay with being on the bleeding edge, you could write your own Javascript client.

Enrico
  • 10,377
  • 8
  • 44
  • 55
  • Is the reason for the new Capture SDK not supporting iOS is because mobile Safari does not support Web Bluetooth yet? If so, when/if Mobile Safari adds support for it, will the Capture SDK add support for iOS? – russelh15 Jun 25 '17 at 13:40
  • No, Capture SDK does not require (or use) Web Bluetooth. The iOS version is in the works. – Enrico Jun 25 '17 at 13:44
  • Where can i download the Capture SDK to start playing around with it? – russelh15 Jun 28 '17 at 13:56
  • It's on the [developer portal](http://www.socketmobile.com/developer/portal/capture-sdk) – Enrico Jun 28 '17 at 14:33
  • Thanks. I'd be interested in building a javascript client. Is there info on what I should be listening for from the socket mobile companion app? Is it using websockets to send the the data over? – russelh15 Jun 29 '17 at 14:57
  • That's great! The over-the-wire docs haven't been published yet, but I'll try to do it today. I'll post the link here when they are up – Enrico Jun 29 '17 at 15:37
  • Thanks! Looking forward to it. – russelh15 Jun 29 '17 at 21:35
  • Just a quick update: I'm still working on the docs. Hopefully, I can send you something Monday. If not, it will have to be Wednesday. – Enrico Jun 30 '17 at 23:16
  • Awesome! Thanks again for the quick replies! – russelh15 Jul 01 '17 at 00:25
  • Here's the [link to the Capture json-rpc docs](http://docs.socketmobile.com/capture-preview/json-rpc/en/latest/)! We tried to follow the [jsonrpc spec](http://www.jsonrpc.org/specification) pretty closely, but there are a few differences. We do not currently support positional params or batched requests. – Enrico Jul 05 '17 at 20:29
  • Awesome! Thanks so much Enrico. I'll take a look and let you know if I have anymore questions – russelh15 Jul 05 '17 at 20:41
  • @Enrico I know this is an old post, but when creating an appkey for Capture JS, what do I use as the bundle ID? Also, will this SDK work if the Socket Companion app is backgrounded and another iOS app is in the foreground (and actively paired with the Socket Mobile scanner)? – policenauts Nov 22 '20 at 06:39
  • 1
    @policenauts No, I don't think iOS apps can interact with the scanner while in the background - even if the foreground app is not using the scanner. But please email developers@socketmobile.com to double check. – Enrico Nov 23 '20 at 04:23