Jump to content

plugin_preCharacteristic_pcm.txt


Recommended Posts

  • [Jo...] changed the title to plugin_preCharacteristic_pcm.txt
---

figured out what the problem was... i needed to put my copy file code in the pre_start pcm file instead of start.... but this leads to another problem .....

What i am trying to do is set a characteristic attribute to every characteristic in the program.  the same attribute will be the same for everything except the 1st characteristic..

i have a counter variable that i am using so the code looks like

setCFAttribute("u_my-var","null")

if counter == 1 then

setCFAttribute("u_my-var",my_var2)

counter=2

endif

 

this works perfectly except if the first characteristic is a  loop.. ie  (1,,8,1)mydim....  however if i manually put it into the pre-settings with just setCFAttribute("u_my-var",my_var2), it puts it in...   what am I missing?

×
×
  • Create New...