2

I am learning to develop chrome apps. I want to develop an app using the chrome bluetooth API. I am referring to https://developer.chrome.com/apps/app_bluetooth. I see that all samples here (https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/bluetooth-samples) talk about using Generic Attribute Profile (GATT). But I want to use Serial Port Profile (SPP). Is it possible to do this using the chrome app bluetooth APIs. If yes then a sample code would be very helpful.

Thanks in advance!

qualitytest
  • 763
  • 1
  • 10
  • 18
  • 1
    Here's a sample Chrome app providing SPP communications with chrome.bluetoothSocket API: https://github.com/mimetics/Chrome-BTconnect-App – Dayton Wang Aug 18 '15 at 17:27
  • I have tried the sample code but i get the following error, "connection failed : invalid uuid" . Any suggestion would be very helpful. Thank you – qualitytest Aug 19 '15 at 07:52
  • I haven't tested on my end yet. Maybe you could reach out to the author? – Dayton Wang Aug 19 '15 at 15:41

0 Answers0