Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base Transceiver Station (virtual) #1

Open
ajh123 opened this issue Jul 7, 2024 · 4 comments
Open

Base Transceiver Station (virtual) #1

ajh123 opened this issue Jul 7, 2024 · 4 comments

Comments

@ajh123
Copy link
Member

ajh123 commented Jul 7, 2024

Implement a Base Transceiver Station that allows communications from virtual mobile devices inside virtual worlds.

Implementation

Use https://github.com/osmocom/osmo-bts and add a BTS models like the osmo-bts-virtual however modify it to use something like Web Sockets. Mobile devices will communicate with the BTS over web sockets.

A C based web socket library is required.

Reasons

  • osmo-bts is complete software for managing a BTS and is compatible with real life hardware
  • osmo-bts seems to have good abstraction that allows custom BTS models
  • Web sockets are the only reasonable two way communication from computers inside the virtual Minecraft world of Samland
  • HTTP request are an option, however they do not allow the server (the BTS) to send data to a client at anytime - Web sockets allow clients to connect to a server and receive data at anytime or send data at anytime.
@ajh123

This comment was marked as outdated.

@ajh123

This comment was marked as outdated.

@ajh123
Copy link
Member Author

ajh123 commented Jul 7, 2024

The rewritten trxcon and mobile programs would live on a computer acting as a virtual "BTS" inside the Minecraft world, it will communicate to a real BTS using the method described above. Mobile devices would communicate with the virtual "BTS" over Wireless Modems with the Modem API

Modems support having multiple channels that are a number. This channels closely resemble the frequencies as seen in the real world.

@ajh123
Copy link
Member Author

ajh123 commented Jul 12, 2024

An easier option would to skip the rewrite of FakeTRX and just rewrite trxcon and mobile. trxcon would use sockets sent through the Samland proxy. These programs would be written in Computercraft Typescript.

An instance of FakeTRX and regular trxcon would be needed to communicate with the real osmocom BTS software.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant