Email with CSV file attached
Hello - I'm a newbee - investigating principal set-up for remote oilfield application in Kazakhstan:
1.) am using GPRS
2.) controller is sending email with data in attached CSV file
Can Mango pars data from an attached CSV file of a received email?
Thanks ! Gert
am using GPRS
I don't think this should be a problem. Are you having an issue? If so, can you be more specific?
controller is sending email with data in attached CSV file ... Can Mango pars data from an attached CSV file of a received email?
Not currently, no. Mango will only read the body content of an email. It's unlikely that attachment reading will make it into M2M, but such a thing will be possible in M2M v2 by creating a custom module. If you can't wait that long, maybe you can convince your devices to send data in an alternate format?
I'm planning to use a controller with minios7 as OS.
It has modbus rtu implemented, can tonnect to gprs and has a tcp stack.
What would be the easiest way to get data to mango? POST a http msg?
The most efficient way would be for Mango to poll over Modbus I/P. But if the device needs to initiate the connections then, yes, posting an HTTP message will work just fine. Check the HTTP Receiver documentation for details.