Code Monkey home page Code Monkey logo

beacon-simulator-android's Introduction

Main original work

Lang Category Repository Description
Java Mobile beacon-simulator-android Bluetooth Beacon Simulator for Android
Rust Embedded nrf52833-rgb-led-matrix-lib-rust Driver for a RGB led matrix for a nfr52833
Rust Parsing llvm-tuto-kaleidoscope-rust LLVM Kaleidoscope tutorial in Rust
Rust Parsing json-parser-rust JSON parser for Rust
Rust Graphics game-of-life-rust-bevy Game of Life simulation with Bevy
Rust Graphics raytracer-rust Ray-tracer in Rust
Rust Graphics mandelbrot-rust Drawing of Mandelbrot set
Python Parsing sphinxcontrib-itemlist Plugin for Sphinx to display list of items
JavaScript Graphics sketch-book Sketch book of various graphical effects with shaders
JavaScript Game vscode-tetromino Tetromino plugin for VSCode
JavaScript Game atom-tetromino Tetromino plugin for Atom
JavaScript Mobile freebox-zapper-webapp Remote control for the FreeBox in Cordova
C++ Embedded traffic-lights-arduino Simulation of a traffic lights with Arduino
Swift Bluetooth blesignal-cli-macos To display Bluetooth Low Energy signals on MacOS

Other

Code practice
Lang Repository Description
Misc advent-of-code Advent of Code coding challenge
Python dil-datascience-tuto Machine learning training
Sandboxes & various simple techno tests
Lang Repository Description
Rust bevy-sandbox Tests with Bevy
Rust nannou-sandbox Tests with Nannou
Rust microbit-rust-sandbox Tests with a Microbit BBC in Rust
Rust wgpu-sandbox Tests with WGPU and Rust
JavaScript threejs-sandbox Tests with ThreeJS
JavaScript webrtc-sandbox Tests with WebRTC
GLSL webgl2-sandbox Tests with WebGL
Haskell haskell-sandbox Tests with Haskell
Swift ble-ibeacon-notif-ios Tests iBeacon scan with iOS
Python docker-echo-server Docker image which echoes on a UDP and a TCP port
Java android-service-kill-study Study on effect of killing an Android app on services
Misc hash-ipv4-sandbox Tests various way of quickly compute some hashes of all IPv4 range
Unfinished / staled / deprecated
Lang Category Repository Status Description
Python App qrmeet-aws Unfinished QRMeet, social game where we have to scan other's QR code to find a peer person
Go Parsing llvm-tuto-kaleidoscope-golang Unfinished LLVM Kaleidoscope tutorial in Go
JavaScript Graphics string-art-web Unfinished Draw curves using their tangents
Java Mobile wifi-status-android Deprecated Display the status of the WiFi with very low binary size
Swift App lucarne-macos Deprecated Copy a MacOS window to a vignette
Non programming
Technology Category Repository Description
Blender Graphics blender-sketches Blender personal sketches
Blender Graphics blender-tutorials Blender tutorials I followed
Jekyll WebSite vhiribarren.github.io GitHub hosted website

beacon-simulator-android's People

Contributors

vhiribarren avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

beacon-simulator-android's Issues

Feature request

Thanks for your work.

May I request to add some control on when to broadcast beacon?

For example, triggering by location, time, etc.

Or to be able to control by applications like Automate or Tasker?

Thanks.

Crash when try to simulate a Beacon

adb logcat -c;adb logcat -ball AndroidRuntime:D beaconsimulato:d *:S|grep -i caused
04-17 22:52:48.307 14589 14589 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #23 in net.alea.beaconsimulator:layout/card_beacon_ibeacon_edit: Error inflating class android.support.design.widget.TextInputLayout
04-17 22:52:48.307 14589 14589 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
04-17 22:52:48.307 14589 14589 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Drawable net.alea.beaconsimulator:drawable/design_password_eye with resource ID #0x7f080060
04-17 22:52:48.307 14589 14589 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: File res/drawable-v21/design_password_eye.xml from drawable resource ID #0x7f080060
04-17 22:52:48.308 14589 14589 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Drawable (missing name) with resource ID #0x7f08005e
04-17 22:52:48.308 14589 14589 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f08005e
04-17 22:53:11.018 14981 14981 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #35 in net.alea.beaconsimulator:layout/fragment_beacon_edit: Error inflating class android.support.design.widget.TextInputLayout
04-17 22:53:11.018 14981 14981 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
04-17 22:53:11.018 14981 14981 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Drawable net.alea.beaconsimulator:drawable/design_password_eye with resource ID #0x7f080060
04-17 22:53:11.018 14981 14981 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: File res/drawable-v21/design_password_eye.xml from drawable resource ID #0x7f080060
04-17 22:53:11.019 14981 14981 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Drawable (missing name) with resource ID #0x7f08005e
04-17 22:53:11.019 14981 14981 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f08005e
04-17 22:53:39.597 15027 15027 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #35 in net.alea.beaconsimulator:layout/fragment_beacon_edit: Error inflating class android.support.design.widget.TextInputLayout
04-17 22:53:39.597 15027 15027 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
04-17 22:53:39.597 15027 15027 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Drawable net.alea.beaconsimulator:drawable/design_password_eye with resource ID #0x7f080060
04-17 22:53:39.597 15027 15027 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: File res/drawable-v21/design_password_eye.xml from drawable resource ID #0x7f080060
04-17 22:53:39.598 15027 15027 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Drawable (missing name) with resource ID #0x7f08005e
04-17 22:53:39.598 15027 15027 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f08005e
04-17 22:53:58.922 15083 15083 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #35 in net.alea.beaconsimulator:layout/fragment_beacon_edit: Error inflating class android.support.design.widget.TextInputLayout
04-17 22:53:58.922 15083 15083 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
04-17 22:53:58.922 15083 15083 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Drawable net.alea.beaconsimulator:drawable/design_password_eye with resource ID #0x7f080060
04-17 22:53:58.922 15083 15083 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: File res/drawable-v21/design_password_eye.xml from drawable resource ID #0x7f080060
04-17 22:53:58.923 15083 15083 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Drawable (missing name) with resource ID #0x7f08005e
04-17 22:53:58.923 15083 15083 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f08005e
04-17 22:54:10.476 15132 15132 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #35 in net.alea.beaconsimulator:layout/fragment_beacon_edit: Error inflating class android.support.design.widget.TextInputLayout
04-17 22:54:10.476 15132 15132 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
04-17 22:54:10.476 15132 15132 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Drawable net.alea.beaconsimulator:drawable/design_password_eye with resource ID #0x7f080060
04-17 22:54:10.476 15132 15132 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: File res/drawable-v21/design_password_eye.xml from drawable resource ID #0x7f080060
04-17 22:54:10.477 15132 15132 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Drawable (missing name) with resource ID #0x7f08005e
04-17 22:54:10.477 15132 15132 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f08005e
04-17 22:58:11.008 15201 15201 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #23 in net.alea.beaconsimulator:layout/card_beacon_ibeacon_edit: Error inflating class android.support.design.widget.TextInputLayout
04-17 22:58:11.008 15201 15201 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
04-17 22:58:11.008 15201 15201 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Drawable net.alea.beaconsimulator:drawable/design_password_eye with resource ID #0x7f080060
04-17 22:58:11.008 15201 15201 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: File res/drawable-v21/design_password_eye.xml from drawable resource ID #0x7f080060
04-17 22:58:11.009 15201 15201 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Drawable (missing name) with resource ID #0x7f08005e
04-17 22:58:11.009 15201 15201 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f08005e

App crash when switching simulator

time: 1601897458516
msg: java.lang.NullPointerException: Attempt to invoke interface method 'android.os.IBinder android.os.IInterface.asBinder()' on a null object reference
stacktrace: java.lang.RuntimeException: Unable to start service net.alea.beaconsimulator.bluetooth.BeaconSimulatorService@dab232b with Intent { act=net.alea.beaconsimulator.service.ACTION_START cmp=net.alea.beaconsimulator/.bluetooth.BeaconSimulatorService (has extras) }: java.lang.NullPointerException: Attempt to invoke interface method 'android.os.IBinder android.os.IInterface.asBinder()' on a null object reference
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4105)
at android.app.ActivityThread.access$1800(ActivityThread.java:219)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1891)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:915)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'android.os.IBinder android.os.IInterface.asBinder()' on a null object reference
at android.os.Parcel.createException(Parcel.java:2077)
at android.os.Parcel.readException(Parcel.java:2039)
at android.os.Parcel.readException(Parcel.java:1987)
at android.bluetooth.IBluetoothGatt$Stub$Proxy.startAdvertisingSet(IBluetoothGatt.java:1526)
at android.bluetooth.le.BluetoothLeAdvertiser.startAdvertisingSet(BluetoothLeAdvertiser.java:434)
at android.bluetooth.le.BluetoothLeAdvertiser.startAdvertisingSet(BluetoothLeAdvertiser.java:306)
at android.bluetooth.le.BluetoothLeAdvertiser.startAdvertising(BluetoothLeAdvertiser.java:158)
at android.bluetooth.le.BluetoothLeAdvertiser.startAdvertising(BluetoothLeAdvertiser.java:93)
at net.alea.beaconsimulator.bluetooth.BeaconSimulatorService.a(BeaconSimulatorService.java:243)
at net.alea.beaconsimulator.bluetooth.BeaconSimulatorService.onStartCommand(BeaconSimulatorService.java:135)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4087)
... 8 more

altBeacon swapped manufacturer words

I'm not sure it's a bug on your part or mine but here is some serial dump form my ESP32 BLEbeaconScanner code:

altBEACON data: bebabeace02316314636493b978c6963e38ffabedeadbeefbb00
ManufactuID: 47787 babe
UUID: e02316314636493b978c6963e38ffabe
MAJOR: 57005 dead
Minor: 48879 beef
Manufacturer recerved: 00

altBEACON data: 00ffbeace02316314636493b978c6963e38ffabedeadbeefbb00
ManufactuID: 47787 ff00
UUID: e02316314636493b978c6963e38ffabe
MAJOR: 57005 dead
Minor: 48879 beef
Manufacturer recerved: 00

As you see the 16bit HEX is mangled to two 8bit HEX and order is changed..

// Agge

The Bitly API key is missing

Hi!
When I try to minify the URL in case of EddystoneURL, I have the "java.util.MissingResourceException The Bitly API key is missing". Could you be so kind to tell me what should I do in this case?

Enhancement - tasker plugin to allow event based beacon broadcast toggling

This app provides a great way to detect presence around a house, e.g. using room assistant project, but currently does not persist when Bluetooth restarts.

A tasker plugin to trigger broadcasting of beacon would allow fine grained control of automating the beacon broadcast.

Tasker can be integrated in 2 ways: https://tasker.joaoapps.com/developers.html

The second way is not a tasker plugin itself, but involves exposing an intent that another tasker plugin can trigger.

Intent for activation / deactivation of iBeacons

Hello,

first of all, thank you for this great project!

I would like to be able to activate or deactivate beacons that I have added in the Beacon Simulator via an external app like Tasker. This can also be done with Intents. Unfortunately, I don't know which intent leads to the activation / deactivation of iBeacons in the Beacon Simulator.

Can someone please help me?

can't start beacon

I try to implement this beacon code to my course project, but when I made new beacon in that project, the beacon can't detected by the scanner. in the logcat I got this "Unable to start service Intent { act=net.alea.beaconsimulator.service.ACTION_START"

*sorry for my bad english

Enhancement: Allow creation of custom beacon templates

Beacon Simulator currently supports a set of known beacon formats. There are a number of companies creating there own beacons with proprietary formats. It'd be really useful to properly scan them and transmit them as well.

altbeacon provides support for custom layouts via the 'setBeaconLayout' call:

https://altbeacon.github.io/android-beacon-library/javadoc/org/altbeacon/beacon/BeaconParser.html#setBeaconLayout-java.lang.String-

It'd be really useful to have the ability to add custom templates based on this call.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.