# Notecard Lora file change

**URL:** https://discuss.blues.com/t/notecard-lora-file-change/2188
**Category:** Notecard API
**Created:** [June 24, 2024, 6:54am UTC](https://discuss.blues.com/t/notecard-lora-file-change/2188 "2024-06-24T06:54:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ouaibeer](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/ouaibeer/32/418_2.png) [@ouaibeer](https://discuss.blues.com/u/ouaibeer)
#### Post date: [June 24, 2024, 6:54am UTC](https://discuss.blues.com/t/notecard-lora-file-change/2188/1 "2024-06-24T06:54:51Z")

</div>

Hi, I try to use notehub to send new parameters to my Lora notecard but it doesn’t work. My code is working fine with a LTE Notecard. My Lora notecard can send some data so it syncronize correctly with notehub but doesn’t take my data.qi.

My code look like this

```auto
J *notecard_changes = notecard.requestAndResponse(notecard.newRequest("file.changes"));
  J *changes_infos = JGetObjectItem(notecard_changes,"info");
  J *data_changes = JGetObjectItem(changes_infos,"data.qi");
  int nb_changes = (int) JGetInt(data_changes,"total");
  notecard.deleteResponse(notecard_changes);
  Serial.print("Nb Changes: ");

```

Do we have to modifiy something like the template for sending data?

Thank you,  
Eric

---

<div class="post-metadata">

### Author: ![bmillier](https://avatars.discourse-cdn.com/v4/letter/b/8c91f0/32.png) [@bmillier](https://discuss.blues.com/u/bmillier)
#### Post date: [July 14, 2024, 4:52pm UTC](https://discuss.blues.com/t/notecard-lora-file-change/2188/2 "2024-07-14T16:52:32Z")

</div>

To get Notehub messages back to your Notecard you do have to define a template on the notecard and you must include a port #, which is not needed on the Notehub WiFi for example. Each such template must use a different port number. I had the same issue and Blues staff advised me of this- but this info was not in the QuickStart guide for sending messages from Notehub- at least not when I reported this issue. Hope this helps.
