Implement a secure ICS protocol targeting LoRa Node151 microcontroller for controlling irrigation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

52 lines
1.1 KiB

  1. /*!
  2. * \file eeprom-board.c
  3. *
  4. * \brief Target board EEPROM driver implementation
  5. *
  6. * \copyright Revised BSD License, see section \ref LICENSE.
  7. *
  8. * \code
  9. * ______ _
  10. * / _____) _ | |
  11. * ( (____ _____ ____ _| |_ _____ ____| |__
  12. * \____ \| ___ | (_ _) ___ |/ ___) _ \
  13. * _____) ) ____| | | || |_| ____( (___| | | |
  14. * (______/|_____)_|_|_| \__)_____)\____)_| |_|
  15. * (C)2013-2017 Semtech
  16. *
  17. * \endcode
  18. *
  19. * \author Miguel Luis ( Semtech )
  20. *
  21. * \author Gregory Cristian ( Semtech )
  22. */
  23. #include "utilities.h"
  24. #include "eeprom-board.h"
  25. LmnStatus_t EepromMcuWriteBuffer( uint16_t addr, uint8_t *buffer, uint16_t size )
  26. {
  27. LmnStatus_t status = LMN_STATUS_ERROR;
  28. return status;
  29. }
  30. LmnStatus_t EepromMcuReadBuffer( uint16_t addr, uint8_t *buffer, uint16_t size )
  31. {
  32. return LMN_STATUS_ERROR;
  33. }
  34. void EepromMcuSetDeviceAddr( uint8_t addr )
  35. {
  36. while( 1 )
  37. {
  38. }
  39. }
  40. LmnStatus_t EepromMcuGetDeviceAddr( void )
  41. {
  42. while( 1 )
  43. {
  44. }
  45. // return 0;
  46. }