When a user sees a list of all of the cabs nearby on the iOS client app, they tap one of these, which should make a call to the server and get information about that specific driver - given a particular beacon ID.
Thus, the server should have some way of querying for a driver given a beacon ID. This could be as simple as doing a GET request at drivers.json?beacon_id=PARTICULAR_BEACON_ID or something similar.
When a user sees a list of all of the cabs nearby on the iOS client app, they tap one of these, which should make a call to the server and get information about that specific driver - given a particular beacon ID.
Thus, the server should have some way of querying for a driver given a beacon ID. This could be as simple as doing a GET request at drivers.json?beacon_id=PARTICULAR_BEACON_ID or something similar.