# Card.attn location mode off

**URL:** <https://discuss.blues.com/t/card-attn-location-mode-off/2230>\
**Category:** Notecard API\
**Created:** [July 21, 2024, 7:05pm UTC](https://discuss.blues.com/t/card-attn-location-mode-off/2230 "2024-07-21T19:05:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yunzheng](https://avatars.discourse-cdn.com/v4/letter/y/2acd7d/32.png) [@yunzheng](https://discuss.blues.com/u/yunzheng)\
**Post date:** [July 21, 2024, 7:05pm UTC](https://discuss.blues.com/t/card-attn-location-mode-off/2230/1 "2024-07-21T19:05:59Z")

</div>

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)?

---

<div class="post-metadata">

**Author:** ![RobLauer](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/roblauer/32/1567_2.png) [@RobLauer](https://discuss.blues.com/u/RobLauer)\
**Post date:** [July 22, 2024, 2:32pm UTC](https://discuss.blues.com/t/card-attn-location-mode-off/2230/2 "2024-07-22T14:32:27Z")

</div>

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
