9
Views
1
Comments
[Zebra DataWedge Connector Plugin] Use Bluetooth Scanner Notifications
Question
zebra-datawedge-connector-plugin
Mobile icon
Forge asset by João Lopes
Application Type
Mobile

Hello,

In this link https://techdocs.zebra.com/datawedge/latest/guide/api/notify/ notification to interact with the barcode scanner. 

I would like to do some custom behavior depending on the situation. ex. if the barcode scanned is invalid, I would like to do 3 low short beeps.

I think that the example code that we can found on the link is for android specific.

Is it possible on the plugin create custom code where I can send the Notification RSM attributes for LED/Beep?


Thanks

2019-01-07 15-21-15
Carlos Perdigão
Staff

Hi Fábio,

I believe that the best approach would be to build a new plugin for the beeps and then in OS control the behavior of both function (BarCode scanning and beeping).

If you haven't build one yet I recommend going over the Mobile Plugins Training to see how to build one.  Having a Cordova project with the feature helps a lot. 

An alternative path would be customizing this plugin with your own needs but this way you would miss any updates the team develops here.

I hope this helps! 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.