Card.attn location mode off

I plan on arming the ATTN pin like so:
{
“req”: “card.attn”,
“mode”: “arm,files,location”,
“seconds”: 0,
“files”: [“data.qi”]
}
How would the ATTN pin behave if card.location.mode is off? How about if card.location.mode is switched off or switched on (on as in periodic or continuous mode)?

Hi @yunzheng and welcome to the Blues community!

You can think of the card.attn as a “passive” call if you will. For example, if you include location in the mode, ATTN will only fire whenever the Notecard GPS module makes a position fix. If your GPS module is disabled (card.location.mode off for instance) it won’t ever fire. If it’s in continuous or periodic mode, it’ll fire only when the Notecard updates its location.

Hope that helps!
Rob

1 Like