Feature Requirements

  • The OneWiFiMesh DB has tables such as Device List and Network list. A new table needs to be added here as “Neighbor List"
  • The neighbor list table is to be populated using API in dm_neighbor_list.h
  • dm_neighbor_* currently isn’t initialized or used. This API will be used to maintain the neighbor list
  • The NeighborList database is to contain Topology Discovery and Response findings as below


ColumnTypeMeaning
idinteger (PK)Row ID
discoverer_macstring / mac_address_tThe AP that discovered the neighbor
discoveree_macstring / mac_address_tThe AP that was discovered
neighbor_typeinteger (bitmap)LAN/WiFi
pos_xfloatFrom EasyMesh
pos_yfloatFrom EasyMesh
pos_zfloatFrom EasyMesh
next_hopmac_address_tFrom EasyMesh
num_hopsintFrom EasyMesh
path_lossintFrom EasyMesh
timestampuint64Time when entry was last updated

em_base.h: 

typedef struct {
mac_address_t nbr;
float pos_x;
float pos_y;
float pos_z;
mac_address_t next_hop;
unsigned int num_hops;
int path_loss;
} em_neighbor_info_t;


  • No labels