Enjoy a simple Android game using BLE

Sometimes we look for what will be the best demo for BLE operation between mobile device and peer device. Recently Blinky is one of perfect application, but I suggest one more interesting example between mobile game based on Android and nRF51-DK or nRF52-DK as a controller.

  1. Environment

    You may know Digital Bird already introduced in our Github, which was created as a part of BBC Make it Digital program with microbit. So this will be a nice game to operate with DK. https://github.com/NordicSemiconductor/Android-Digital-Bird

    Requirements

    -. Android phone or tablet able to run the game.

    -. nRF51 or nRF52 DK.

    -. nRF5_SDK 11.0.0 (older one also fine).

  2. Base application on peer device(DK side)

    To make simpler, I used sample application, blinky ( nRF5_SDK_11.0.0_89a8197\ examples\ble_peripheral\experimental_ble_app_blinky) and minimized to modify the regacy codes.

    Here is the step to follow. You don't have to be very knowledgeable about BLE. It's really simple.

    Step 1. The most important one is to set service UUID ( 88400001-e95a-844e-c53f-fbec32ed5e54 )both side, so we will set it same in ble_lbs.h as below:

            LBS_UUID_BASE {0x54, 0x5E, 0xED, 0x32, 0xEC, 0xFB, 0x3F, 0xC5,0x4E, 0x84, 0x5A, 0xE9, 0x00, 0x00, 0x40, 0x88}
            LBS_UUID_SERVICE 0x0001
    
    And also set characteristic UUID (88400002-e95a-844e-c53f-fbec32ed5e54 ) as following:
    
            LBS_UUID_BUTTON_CHAR 0x0002
    

    The characteristic value should be set with NOTIFY property, but fortunately, it's already set in the legacy codes and the property means it requires CCCD as well.

Step 2. The notification value should be sent when the button is pressed(0x01) and released(0x00), but it is also included in the legacy codes.

  1. Build and program the binary to the DK.

  2. Enjoy the game with the BLE controller.

    To connect each other, RSSI must be higher than -35dBm, so please place the devices close.!

image description

image description

In short, the only things modified from the legacy codes is as following:

-. LBS_UUID_BASE, LBS_UUID_SERVICE, LBS_UUID_BUTTON_CHAR //ble_lbs.h

-. Removing irrelevant characteristic led_char_add(..) and led_desc_add(..) //ble_lbs.c

Everything else is same as it is..

Cheers, Brian

Parents
  • Roullete Revolution: Evoplay's Digital Mastery in Online Gaming

    In the dynamic and ever-evolving landscape of online gaming, Evoplay stands tall as a pioneering force, consistently pushing boundaries and reshaping player experiences. At the heart of their innovative offerings lies the classic gem - Roullete, a game that seamlessly fuses the timeless allure of traditional gameplay with the cutting-edge technology of the digital age. Let's take a deep dive into the realm of Evoplay's Roullete and uncover how it is transforming the online gaming experience with its unique blend of sophistication and excitement.

    Roullete by Evoplay serves as a testament to the company's commitment to providing players with an authentic and immersive roulette experience in the digital realm. The game effortlessly captures the essence of the classic casino favorite, offering a user-friendly interface that caters to both seasoned players and newcomers. It mirrors the welcoming atmosphere of a live roulette table, creating an environment that encapsulates the excitement and charm of traditional gameplay.

    What sets roullete demo apart is Evoplay's meticulous attention to detail in both design and functionality. The game replicates the iconic roulette wheel and betting layout with precision, creating a visually striking and authentic representation of the traditional game. The graphics and sound effects work in unison to immerse players in an environment that mirrors the sophistication of a real-life roulette table, successfully blending modern technology with classic elegance.

    The simplicity of the game design ensures that players can focus on the pure excitement of roulette. Roullete maintains the core mechanics of the traditional game, allowing players to place bets on their chosen numbers, colors, or ranges. This straightforward approach makes it an ideal choice for purists who appreciate the simplicity of classic games and those new to the world of online roulette, seeking an easy entry point into the excitement of the game.

    Moreover, Roullete by Evoplay offers a versatile gaming experience that caters to a broad spectrum of players. Whether you're a seasoned roulette enthusiast or a newcomer eager to explore the allure of the game, Evoplay's rendition adapts to your preferences. This adaptability adds an extra layer of enjoyment, allowing players to experience the timeless charm of roulette while reveling in the convenience and accessibility of online gaming.

    The allure of Roullete extends beyond its nostalgic appeal—it's a game that offers real potential for significant wins. Despite its classic design, the game provides players with ample opportunities to experience the excitement of a winning spin. This harmonious blend of tradition and modernity showcases Evoplay's ability to seamlessly capture the timeless allure of classic casino games while delivering the thrill of contemporary online gaming.

    In conclusion, Roullete by Evoplay is a masterpiece that transcends time and captivates players with its fusion of tradition and innovation. By preserving the elegance of traditional roulette and infusing it with cutting-edge technology, Evoplay has created a game that resonates with both lovers of classic casino experiences and those seeking the excitement of online gaming. Whether you're drawn to the nostalgia of the classics or simply seeking the thrill of a well-placed bet, "Roullete" invites you to spin the wheel and savor the excellence of roulette with Evoplay.

Comment
  • Roullete Revolution: Evoplay's Digital Mastery in Online Gaming

    In the dynamic and ever-evolving landscape of online gaming, Evoplay stands tall as a pioneering force, consistently pushing boundaries and reshaping player experiences. At the heart of their innovative offerings lies the classic gem - Roullete, a game that seamlessly fuses the timeless allure of traditional gameplay with the cutting-edge technology of the digital age. Let's take a deep dive into the realm of Evoplay's Roullete and uncover how it is transforming the online gaming experience with its unique blend of sophistication and excitement.

    Roullete by Evoplay serves as a testament to the company's commitment to providing players with an authentic and immersive roulette experience in the digital realm. The game effortlessly captures the essence of the classic casino favorite, offering a user-friendly interface that caters to both seasoned players and newcomers. It mirrors the welcoming atmosphere of a live roulette table, creating an environment that encapsulates the excitement and charm of traditional gameplay.

    What sets roullete demo apart is Evoplay's meticulous attention to detail in both design and functionality. The game replicates the iconic roulette wheel and betting layout with precision, creating a visually striking and authentic representation of the traditional game. The graphics and sound effects work in unison to immerse players in an environment that mirrors the sophistication of a real-life roulette table, successfully blending modern technology with classic elegance.

    The simplicity of the game design ensures that players can focus on the pure excitement of roulette. Roullete maintains the core mechanics of the traditional game, allowing players to place bets on their chosen numbers, colors, or ranges. This straightforward approach makes it an ideal choice for purists who appreciate the simplicity of classic games and those new to the world of online roulette, seeking an easy entry point into the excitement of the game.

    Moreover, Roullete by Evoplay offers a versatile gaming experience that caters to a broad spectrum of players. Whether you're a seasoned roulette enthusiast or a newcomer eager to explore the allure of the game, Evoplay's rendition adapts to your preferences. This adaptability adds an extra layer of enjoyment, allowing players to experience the timeless charm of roulette while reveling in the convenience and accessibility of online gaming.

    The allure of Roullete extends beyond its nostalgic appeal—it's a game that offers real potential for significant wins. Despite its classic design, the game provides players with ample opportunities to experience the excitement of a winning spin. This harmonious blend of tradition and modernity showcases Evoplay's ability to seamlessly capture the timeless allure of classic casino games while delivering the thrill of contemporary online gaming.

    In conclusion, Roullete by Evoplay is a masterpiece that transcends time and captivates players with its fusion of tradition and innovation. By preserving the elegance of traditional roulette and infusing it with cutting-edge technology, Evoplay has created a game that resonates with both lovers of classic casino experiences and those seeking the excitement of online gaming. Whether you're drawn to the nostalgia of the classics or simply seeking the thrill of a well-placed bet, "Roullete" invites you to spin the wheel and savor the excellence of roulette with Evoplay.

Children