{"action":"created","issue":{"url":"https://api.github.com/repos/per1234/EtherEvent/issues/1","labels_url":"https://api.github.com/repos/per1234/EtherEvent/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/per1234/EtherEvent/issues/1/comments","events_url":"https://api.github.com/repos/per1234/EtherEvent/issues/1/events","html_url":"https://github.com/per1234/EtherEvent/issues/1","id":98994181,"number":1,"title":"Not Properly Receiving Large Payload.","user":{"login":"kdschlosser","id":10932297,"avatar_url":"https://avatars.githubusercontent.com/u/10932297?v=3","gravatar_id":"","url":"https://api.github.com/users/kdschlosser","html_url":"https://github.com/kdschlosser","followers_url":"https://api.github.com/users/kdschlosser/followers","following_url":"https://api.github.com/users/kdschlosser/following{/other_user}","gists_url":"https://api.github.com/users/kdschlosser/gists{/gist_id}","starred_url":"https://api.github.com/users/kdschlosser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdschlosser/subscriptions","organizations_url":"https://api.github.com/users/kdschlosser/orgs","repos_url":"https://api.github.com/users/kdschlosser/repos","events_url":"https://api.github.com/users/kdschlosser/events{/privacy}","received_events_url":"https://api.github.com/users/kdschlosser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":293,"created_at":"2015-08-04T15:17:45Z","updated_at":"2015-09-02T18:03:01Z","closed_at":null,"body":"sorry about the book. I am just trying to provide as much information as possible.\r\n\r\nI am trying to send Pronto IR HEX to my Arduino Mega 2560. As we know the code is huge. as true hex the code i am transmitting looks like this if stored on the arduino.\r\n\r\nconst uint16_t prontoCode[78] = {\r\n\t\t0x00,0x6D,0x22,0x03,0xA9,0xA8,0x15,0x3F,0x15,0x3F,0x15,0x3F,0x15,\r\n\t\t0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x3F,0x15,0x3F,\r\n\t\t0x15,0x3F,0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15,\r\n\t\t0x15,0x15,0x3F,0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15,\r\n\t\t0x15,0x15,0x15,0x40,0x15,0x15,0x15,0x3F,0x15,0x3F,0x15,0x3F,0x15,\r\n\t\t0x3F,0x15,0x3F,0x15,0x3F,0x15,0x702,0xA9,0xA8,0x15,0x15,0x15,0xE6E};\r\n\r\nas a non hex form same code is as follows again if stored on the arduino.\r\nconst char prontoCode[392] = {\r\n\t\t\"0000 006D 0022 0003 00A9 00A8 0015 003F 0015 003F 0015 003F 0015\r\n\t\t 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 003F 0015 003F\r\n\t\t 0015 003F 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015\r\n\t\t 0015 0015 003F 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015\r\n\t\t 0015 0015 0015 0040 0015 0015 0015 003F 0015 003F 0015 003F 0015\r\n\t\t 003F 0015 003F 0015 003F 0015 00702 00A9 00A8 0015 0015 0015 00E6E\"};\r\n\r\ni believe it's 392 for that char. but at any rate o am setting the buffer size to 512, now I am only using 2.2K of the memory on the Arduino, I have not done a Heap Check. but i am sure there is still no problem. I am also using the TCP Events Plugin for EG I could never get this library to work at all with the standard Network Sender/Receiver. Besides having MD5 errors more often than I would like and now this problem. Other than that, works great. Fast too. So I do thank you for making this Library. ok So back to whats happening, Have a Prefix and Suffix Being sent along with the payload of the pronto code. it receives the payload as an event, and no matter what i set the buffers to it receives no more then 21 of the 392. even if i set both the event and payload buffer to 512 it returns true, And at compile time it makes no difference to the memory size, So I am not sure how this is allocated. I would post code, but in order to be relevent I would have to drop the whole thing, about 45K worth. to much to post. But to give an idea. my includes are as follows for the known libraries. MD5 SPI IRLIB Timer EthernetV2_0 EtherEvent and the utility\\w5200 along with some I have created\r\n\r\nI am using IRLIB for receiving only and using a modified version of the ProntoIR Library by probonopd its on git Hub. also a simple PIR library for shutting down TV ect... also have a Limited ZWave  (MiCasaVerde Vera3) Library for controlling lights and such, as well as simple thermostat for controlling fireplace. and a control system for OSD generated by eventghost, and Serial Control of my Harman Kardon AVR. Now I can store this Pronto Code and 3 others like it in char format and have not a problem running it. But there are some things I would like to add onto and want to free up the memory.\r\n\r\nStrange why it comes through as an event tho. and If i send a small payload say 10 digits with the large buffer set. the event comes through just fine then but no payload, if I shrink the payload to say 100 works fine. so I am not sure as to what the exact limit is. and if the problem is being caused by TCP Events or with the Library. But I am thinking the Library only because of the changing the buffer it starts to work. I have also tried this without any of the things I mentioned before just plain jane so to speak, and same problem. just the ethernet and the etherevent and MD5 on a different Mega . But if this is able to get those pronto codes sent from elsewhere. woah what a great utility, as there is no library that is already made that works with my samsung TV codes. Only pronto does. and trying to read the code from flash storage is fickle. hit or miss on working so having it sent would be best. works over serial. \r\n\r\nThanks again.\r\nKevin"},"comment":{"url":"https://api.github.com/repos/per1234/EtherEvent/issues/comments/137192753","html_url":"https://github.com/per1234/EtherEvent/issues/1#issuecomment-137192753","issue_url":"https://api.github.com/repos/per1234/EtherEvent/issues/1","id":137192753,"user":{"login":"kdschlosser","id":10932297,"avatar_url":"https://avatars.githubusercontent.com/u/10932297?v=3","gravatar_id":"","url":"https://api.github.com/users/kdschlosser","html_url":"https://github.com/kdschlosser","followers_url":"https://api.github.com/users/kdschlosser/followers","following_url":"https://api.github.com/users/kdschlosser/following{/other_user}","gists_url":"https://api.github.com/users/kdschlosser/gists{/gist_id}","starred_url":"https://api.github.com/users/kdschlosser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdschlosser/subscriptions","organizations_url":"https://api.github.com/users/kdschlosser/orgs","repos_url":"https://api.github.com/users/kdschlosser/repos","events_url":"https://api.github.com/users/kdschlosser/events{/privacy}","received_events_url":"https://api.github.com/users/kdschlosser/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T18:03:01Z","updated_at":"2015-09-02T18:03:01Z","body":"never mind about the byte codes. i got them sorted. don't know if i will go that route because of ease of reading the code. i am thinking i will use the pinMode and read and write because of portability between boards. even tho it is a lot faster to use the registers directly. but at this point speed of reading and changing states of the pins is not my focus. ease of use is. \r\n\r\n\r\non another note. the coder of that geofence app seems on board. need some kind of documentation of the connection portion of TCPEvents. an API per say. Don't know if you have something already typed up. but I think it would be useful to have handy in case we come across some kewl app or software that has already been coded and can get in touch with the developer to add support. increase the amount of available software to make use of this. and make it super simple for the user to incorporate into their home automation project. you have a working knowledge of the connection information and what needs to be passed and when and in what format. and then i would be able to provide a coding example in python and we can put something together for C++ and i will tinker with getting something together in Java. "}}