Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 28, 2024, 01:13:31 13:13


Login with username, password and session length


Pages: [1]
Print
Author Topic: MRF24J40 C code with working security!  (Read 3571 times)
0 Members and 1 Guest are viewing this topic.
brainnolo
Inactive

Offline Offline

Posts: 1

Thank You
-Given: 1
-Receive: 6


« on: July 01, 2014, 09:24:03 21:24 »

Hello guys,
 
In case anybody needs a portable MRF24J40 C driver with support for security, here is my contribution.
 
You can find the basic C driver at: https://github.com/briksoftware/mrf24j40
The higher-level transport protocol OSNP, which includes security can be found here: https://github.com/briksoftware/osnp
And finally an example project using these components: https://github.com/briksoftware/gradusnik

The Gradusnik project is being updated, to a more sane design, but the transport protocol remains the same. If there is interest I will post more details about that project as soon as I receive the new PCB and test that everything works.
 
This is part of a bigger open source project for home automation we (me and my wife) are working on, but it can also be used by itself.
 
OSNP is quite different from the Microchip's provided MiWi because is targeted to be used in a Master-Slave network architecture, where eventually many slaves exist (creating a start network). It is not meant to carry a lot of data in commands, and at the moment support for segmentation is not planned (but can be implemented at the higher level). The entire code of the example project, compiles to 9k including security, power management, device discovery, association, etc.
 
Another difference with MiWi, is that the protocol itself is documented and there is also a Javascript (Node) implementation which is what we use on our master device.
 
Both the MRF24J40 and OSNP code are platform agnostic. They have been tested with a PIC18, but they should work on anything providing the correct Hardware Abstraction Layer (it's really just a few functions).
Logged
eemkutay
Active Member
***
Offline Offline

Posts: 149

Thank You
-Given: 21
-Receive: 220


Knowledge is Power


« Reply #1 on: August 06, 2014, 10:51:03 22:51 »

Thank alot, good project
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC