{
"info": {
"author": "timvandervoord",
"author_email": "timvandervoord@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules"
],
"description": "# LoraPacket decoder\nPython library for decoding LoraWAN 1.0. protocol messages\n\n## Example usage\n\nThe RAW HTTP response data of the LoraWAN concentrator containing the data\n```\n\tRAW_LORA_DATA = 'HTTP/1.1 200 OK Date: Mon, 27 Jul 2009 12:28:53 GMT Server: Apache/2.2.14 (Win32) Last-Modified: Wed, 22 Jul 2009 19:15:56 GMT Content-Length: 88 Content-Type: text/html Connection: Closed 00000000ABBA00051010074696d0ded3b347834b034b91000000065-76.0000009.5000007G1LC312900000b52.0701184.4787492900000b-76.0000009.500000100000571{\"alr\":{\"pro\":\"MC/IOT\",\"ver\":\"1\"}}'\n```\n\nDefine a format for the package. This can also be done after initialization of the decoder class, for example if you wish to select for format based on UID, customerID or customerData\n```\n\tLPformat = loraPayLoad()\n```\n\nDefine format items as , , \n```\n\tLPformat.addItem('TEMP', \t1, 'INT') # Add item TEMP that is represented in the first byte as an integer in the payload\n\tLPformat.addItem('HUM', \t1, 'INT') \t# Add item HUM that is represented in the second byte as an integer in the payload\n```\n\nDefine a new loraPacketDecoder class\n```\n\tLp = loraPacketDecoder(RAW_LORA_DATA, LPformat)\n\n\t## Lp.setFormat(LPformat) # for setting the format after initialization\n```\n\nPrint the received data using the format\n```\n\tfor (key, value) in lpD.getPayloadItems().iteritems():\n\t\tprint key, value\n```",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/Timvandervoord/LoraDecoder.git",
"keywords": null,
"license": "GNU",
"maintainer": null,
"maintainer_email": null,
"name": "LoraDecoder",
"package_url": "https://pypi.org/project/LoraDecoder/",
"platform": "any",
"project_url": "https://pypi.org/project/LoraDecoder/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/Timvandervoord/LoraDecoder.git"
},
"release_url": "https://pypi.org/project/LoraDecoder/0.1.0/",
"requires_dist": null,
"requires_python": null,
"summary": "LoRaWan1.0 packet decoder",
"version": "0.1.0"
},
"last_serial": 2177006,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "556a7b9cee09478301077b5b0dd527e3",
"sha256": "f6024faea07474924b5eb47ff368499bc616d7594ef3ab92146a6347d19cb7f6"
},
"downloads": -1,
"filename": "LoraDecoder-0.1.0-py2.7.egg",
"has_sig": false,
"md5_digest": "556a7b9cee09478301077b5b0dd527e3",
"packagetype": "bdist_egg",
"python_version": "2.7",
"requires_python": null,
"size": 11979,
"upload_time": "2016-06-20T11:08:47",
"url": "https://files.pythonhosted.org/packages/68/a7/a59b0ed4decc6c1d5341bb5d8209aa960fd83ada1d6a221f1224eed638f3/LoraDecoder-0.1.0-py2.7.egg"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "556a7b9cee09478301077b5b0dd527e3",
"sha256": "f6024faea07474924b5eb47ff368499bc616d7594ef3ab92146a6347d19cb7f6"
},
"downloads": -1,
"filename": "LoraDecoder-0.1.0-py2.7.egg",
"has_sig": false,
"md5_digest": "556a7b9cee09478301077b5b0dd527e3",
"packagetype": "bdist_egg",
"python_version": "2.7",
"requires_python": null,
"size": 11979,
"upload_time": "2016-06-20T11:08:47",
"url": "https://files.pythonhosted.org/packages/68/a7/a59b0ed4decc6c1d5341bb5d8209aa960fd83ada1d6a221f1224eed638f3/LoraDecoder-0.1.0-py2.7.egg"
}
]
}