camaraproject / DeviceStatus

Repository to describe, develop, document and test the Device Status API family
Apache License 2.0
11 stars 33 forks source link

Device Reachability Status - Is it mandatory to support all values? #217

Closed MsOlaAjibola closed 6 days ago

MsOlaAjibola commented 1 month ago

Currently there are 3 reachability status values - CONNECTED_SMS, CONNECTED_DATA and NOT_CONNECTED. Is it mandatory for an Operator to support all 3? For example could an Operator choose to not support CONNECTED_SMS?

Thanks.

eric-murray commented 1 month ago

Hi @MsOlaAjibola

It depends on the use case the API is being used for.

If a mobile device was connected to your network, but the user of that device had disabled mobile data, then what would your API return? If you did not support CONNECTED_SMS, then you could either:

Neither response is entirely correct, but may be suitable for the use case intended by the API consumer.

In practise, checking whether the device has packet switched and/or circuit switched connectivity is not so difficult.

bigludo7 commented 6 days ago

@MsOlaAjibola @eric-murray : As I do not see impact on code could we transfer this issue in Discussion?

MsOlaAjibola commented 6 days ago

Hi @bigludo7 ,

Yes, let's do that. Thanks