Re: [web-bluetooth] What happens if getPrimaryService can't find the service.

>From 
https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothgattremoteserver-getprimaryservice,
 "returns null if its argument is empty [i.e. no service is found]". 
If the name of the service was bad, 
https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothuuid-getservice
 throws a `SyntaxError`.

-- 
GitHub Notif of comment by jyasskin
See 
https://github.com/WebBluetoothCG/web-bluetooth/issues/118#issuecomment-104710638

Received on Friday, 22 May 2015 16:45:41 UTC