Skip to content

Link between devices and gateways #36

@cdupont

Description

@cdupont

Currently, the API represent the link between a device and a gateway, e.g. "a device radio data has been received by a gateway". This link is represented as a field in Device data structure:

device: 
{
  id: XX
  gateway_id: YYY
}

It's not the best because:

  • finding the devices connected to a gateway takes time, because you need to scan all the devices (thousands) and also verify the authorization.
  • a device could be received by several gateways, this is not representable: gateway_id field has only one gateway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions