Update neardal interface of agl-service-nfc to remove errors due to duplicated requests

Fixed

Description

Avoid duplicate requests to power up or set the nfc adapter in active mode to scan for tags.

The duplicate requests are discarded by neardal and return an error message. This can be avoided by checking the adapter status before the calls to power up or start polling.

While updating this interface, removing the installed callbacks should also be done on exit, to avoid a callback running while shutting down agl-service-nfc poll loop structures.

Environment

None

Activity

Show:

Raquel Medina 
January 24, 2019 at 8:49 PM

Merged to master under gerrit change 19531.

Details

Assignee

Reporter

Fix versions

Labels

Contract ID

Components

Affects versions

Priority

Created December 15, 2018 at 5:48 PM
Updated February 12, 2019 at 1:37 AM
Resolved January 25, 2019 at 12:11 AM