# Trying to make a minor library mod to enhance Adafruit\_IO\_Particle

**URL:** <https://community.particle.io/t/trying-to-make-a-minor-library-mod-to-enhance-adafruit-io-particle/56991>\
**Category:** Libraries\
**Created:** [July 14, 2020, 8:09pm UTC](https://community.particle.io/t/trying-to-make-a-minor-library-mod-to-enhance-adafruit-io-particle/56991 "2020-07-14T20:09:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tgmcnaughton](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@tgmcnaughton](https://community.particle.io/u/tgmcnaughton)\
**Post date:** [July 14, 2020, 8:09pm UTC](https://community.particle.io/t/trying-to-make-a-minor-library-mod-to-enhance-adafruit-io-particle/56991/1 "2020-07-14T20:09:15Z")

</div>

Adafruit IO is a nice service for logging data, but even though AIO accepts data up to 1K in size, the library "Adafruit\_IO\_Particle" limits string length to 40 characters.

in Adafruit\_IO\_Particle.h simply changing line 30:  
#define FEEDDATA\_LENGTH 41  
to  
#define FEEDDATA\_LENGTH 1000

allows one to log strings up to 1K in length. I confirmed that this works on photon and argon but I had trouble trying to update the library using the CLI.

My goal was to copy the existing community library make the mod, then upload the new files as a private library.

> particle library copy Adafruit\_IO\_Particle

works to create the folder structure and place the community library files on my local drive. I can of course make the edit, but then:

> particle library upload Adafruit\_IO\_Particle  
> doesn't work:  
> Command parameters 'adafruit\_IO\_particle' are not expected here.

neither does:

> particle library upload  
> You are not the owner of this library

The docs say I have to change the name of the library or update library.properties. But changing the name then requires changing the references when I really just want a new version. I'm sure I'm missing something simple here. What's the workflow for this?

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [July 15, 2020, 7:19am UTC](https://community.particle.io/t/trying-to-make-a-minor-library-mod-to-enhance-adafruit-io-particle/56991/2 "2020-07-15T07:19:16Z")

</div>

The library name must be unique even across all private libraries but the uniqueness test is not case sensitive.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/3/2/3291e3c9351789fe8620ae5bcec8d3fec67ff221.png) [@system](https://community.particle.io/u/system)\
**Post date:** [September 13, 2020, 7:19am UTC](https://community.particle.io/t/trying-to-make-a-minor-library-mod-to-enhance-adafruit-io-particle/56991/3 "2020-09-13T07:19:17Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
