← 输入框|github.com|刷新
Skip to content

Create a Demo which is able to replicate in another Brick #619

Open

Description

@jabrena

This is concept is inspired in Game Boy with multiplayer games:
https://www.youtube.com/watch?v=HGsmLVsJVmU

The programs multi brick, should be auto configured.

Activity

  1. added this to the v1.0.0 milestone on Dec 9, 2018
  2. self-assigned this
    on Dec 9, 2018
  3. jabrena commented on Dec 9, 2018

    @jabrena
    MemberAuthor

    Ideas:



  4. jabrena commented on Dec 10, 2018

    @jabrena
    MemberAuthor
  5. jabrena commented on Dec 10, 2018

    @jabrena
    MemberAuthor
  6. jabrena commented on Dec 10, 2018

    @jabrena
    MemberAuthor
  7. JakubVanek commented on Jan 14, 2019

    @JakubVanek
    Contributor

    Hmm, there are multiple ways how to do this. The way the software is uploaded to the brick is over SSH. We have two options:

    • SSH from Java - Gradle plugin bypasses Hidetake's SSH plugin and uses JSch directly (SSH.groovy, SFTP.groovy).
    • Alternatively, we can just use scp and ssh.

    Then to establish an SSH connection, there at least two options:

    • Connect the bricks via WiFi/Ethernet. They can either know each other's address, or they can discover it via Avahi (though I don't know how to do that yet). The connection will already be there, so this is the easier path.
    • Connect the bricks via Bluetooth BNEP. The only way I know now how to do it is via graphical blueman-manager, so from my side this is not workable yet. However there might be a way how to hack through this via NetworkManager and bluetoothctl. When we have a proper Bluetooth support, we can add a similar demo for it.

    There seems to be some a library for discovering via DNS-SD (=mDNS=Avahi) - https://github.com/jmdns/jmdns.
    Related ev3dev issue: ev3dev/ev3dev#852

    Regards,

    Jakub

  8. modified the milestones: v1.0.0, v1.1.0 on Sep 1, 2019
  9. removed this from the v1.1.0 milestone on Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions