Giter VIP home page Giter VIP logo

souliss's Introduction

souliss

Souliss is a networking framework for interconnected Things, smart homes and automated appliances. It includes a network layer that gives virtualization over the communication media, an event based protocol and datastructure and user interfaces based on Android and openHAB.

This repository contains the code that runs over Arduino AVR and ESP8266 and the examples to getting started.

Getting Started

If you are new to Souliss and Arduino, the getting started guide gives the basic to compile and run Souliss on your nodes.

Supported Hardware

You can run Souliss on consumer products or compatible boards, generally speaking any device based on the supported microcontrollers and transceivers can run Souliss.

Download

Stable code is released periodically, details are available in the download page.

Support and Community

The main source for documentation is the Wiki, notify bugs in the issues and get in touch with the Community.

souliss's People

Contributors

adamdunkels avatar alvarolobato avatar ckin-loox avatar damadmai avatar dariocdj avatar dekay avatar dgolda avatar dpeddi avatar elminister83 avatar fazioa avatar fulviospelta avatar gcopeland avatar gitter-badger avatar ignat99 avatar ivankravets avatar jkutianski avatar juanpintom avatar lowpowerlab avatar mafiulo avatar maniacbug avatar marcolino7 avatar mattiarossi avatar merofilosofo avatar per1234 avatar plattrap avatar plinioseniore avatar ribico avatar sdurnev avatar shineangelic avatar splinterii 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  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  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

souliss's Issues

Typical 15 - Error in codes Sended by Android App to Souliss Node (w-SOLUTION)

Original issue 44 created by fazioa on 2013-12-13T22:55:15.000Z:

What steps will reproduce the problem?

  1. Load ssExtra_ex01_AndroidRGBLamp.ino
  2. Check RGB_LedLamp.cpp codes are equal to codes readed from IR remote.
  3. Test Buttons (Bright UP, Down, Red, Green, Blue, White, ON, OFF)

What is the expected output? What do you see instead?
Buttons action are not ok.

What version of the app and framework are you using?
A5.0.1

Please provide any additional information below.

Problem solved, edited file Typicals.h from framework, Lines between 78-86

Line codes modified:

define Souliss_T1n_RGBLamp_OnCmd 0x01 //0x02 // ON Command

define Souliss_T1n_RGBLamp_OffCmd 0x09 //0x04 // OFF Command

define Souliss_T1n_RGBLamp_RstCmd 0x00 // Reset Command

define Souliss_T1n_RGBLamp_R 0x2 //0x06 // Red Color

define Souliss_T1n_RGBLamp_G 0x3 //0x07 // Green Color

define Souliss_T1n_RGBLamp_B 0x4 //0x08 // Blue Color

define Souliss_T1n_RGBLamp_W 0x5 //0x09 // White Color

define Souliss_T1n_RGBLamp_BrightUp 0x6 //0x10

define Souliss_T1n_RGBLamp_BrightDown 0x7 //0x20


Alternative Solution: (ONLY TAKE ONE SOLUTION OR CODES ARE WRONG AGAIN :P)

Edit Android APP file:
http://sourceforge.net/p/veseo-souliss/code/HEAD/tree/trunk/SoulissExtraTypical/TypicalIrRGBLight.cpp#l17

Lines Between 13-23

define Souliss_T_IrCom_RGB_Pow_On 0x02 //0x01

define Souliss_T_IrCom_RGB_Pow_Off 0x04 //0x09

//Souliss RGB main colours

define Souliss_T_IrCom_RGB_red 0x06 //0x2

define Souliss_T_IrCom_RGB_green 0x07 //0x3

define Souliss_T_IrCom_RGB_blue 0x08 //0x4

define Souliss_T_IrCom_RGB_white 0x09 //0x5

//Souliss RGB Controls

define Souliss_T_IrCom_RGB_bright_up 0x10 //0x6

define Souliss_T_IrCom_RGB_bright_down 0x20 //0x7

DigiX and Souliss

Original issue 42 created by fazioa on 2013-11-08T12:32:22.000Z:

What steps will reproduce the problem?
1.I have connected the Digix ADDon to the Arduino 1.5.4r2 IDE
2.chose the DigiX BOArd to use
3.run the sketch hardware -> open electronics - >ssOpenElectronics_ex01_RGBStrip
4. Build

What is the expected output? What do you see instead?
i expect :Succeed
i got this :

Arduino: 1.5.4 (Windows NT (unknown)), Board: "Digistump DigiX"

C:\Program Files (x86)\Arduino/hardware/tools/g++arm_none_eabi/bin/arm-none-eabi-g++ -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=154 -DARDUINO_SAM_DIGIX -DARDUINO_ARCH_SAM -D__SAM3X8E_ -mthumb -DUSB_PID=0x078A -DUSB_VID=0x16D0 -DUSBCON -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\system/libsam -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\system/CMSIS/CMSIS/Include/ -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\system/CMSIS/Device/ATMEL/ -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\cores\digix -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\variants\digix -IC:\Users\vincent\Documents\Arduino\libraries\Souliss C:\Users\vincent\AppData\Local\Temp\build9021436457772254803.tmp\ssOpenElectronics_ex01_RGBStrip.cpp -o C:\Users\vincent\AppData\Local\Temp\build9021436457772254803.tmp\ssOpenElectronics_ex01_RGBStrip.cpp.o

C:\Program Files (x86)\Arduino/hardware/tools/g++arm_none_eabi/bin/arm-none-eabi-g++ -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=154 -DARDUINO_SAM_DIGIX -DARDUINO_ARCH_SAM -D__SAM3X8E_ -mthumb -DUSB_PID=0x078A -DUSB_VID=0x16D0 -DUSBCON -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\system/libsam -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\system/CMSIS/CMSIS/Include/ -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\system/CMSIS/Device/ATMEL/ -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\cores\digix -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\variants\digix -IC:\Users\vincent\Documents\Arduino\libraries\Souliss -IC:\Users\vincent\Documents\Arduino\libraries\Souliss\utility C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp -o C:\Users\vincent\AppData\Local\Temp\build9021436457772254803.tmp\Souliss\Souliss.cpp.o

In file included from C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:28:
C:\Users\vincent\Documents\Arduino\libraries\Souliss/frame/MaCaco/MaCaco.cpp: In function 'U8 MaCaco_send(U16, U8, U8_, U8, U8, U8_)':
C:\Users\vincent\Documents\Arduino\libraries\Souliss/frame/MaCaco/MaCaco.cpp:180: error: cast from 'U8_' to 'U16' loses precision
In file included from C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:28:
C:\Users\vincent\Documents\Arduino\libraries\Souliss/frame/MaCaco/MaCaco.cpp: In function 'U8 MaCacoUserMode_send(U16, U8, U8_, U8, U8, U8, U8, U8_, U8_)':
C:\Users\vincent\Documents\Arduino\libraries\Souliss/frame/MaCaco/MaCaco.cpp:225: error: cast from 'U8_' to 'U16' loses precision
C:\Users\vincent\Documents\Arduino\libraries\Souliss/frame/MaCaco/MaCaco.cpp: In function 'U8 MaCaco_peruse(U16, MaCaco_rx_data_t_, U8_)':
C:\Users\vincent\Documents\Arduino\libraries\Souliss/frame/MaCaco/MaCaco.cpp:559: error: cast from 'U8_' to 'U16' loses precision
C:\Users\vincent\Documents\Arduino\libraries\Souliss/frame/MaCaco/MaCaco.cpp: In function 'U16 MaCaco_getputin()':
C:\Users\vincent\Documents\Arduino\libraries\Souliss/frame/MaCaco/MaCaco.cpp:1059: error: cast from 'U8_' to 'U16' loses precision
C:\Users\vincent\Documents\Arduino\libraries\Souliss/frame/MaCaco/MaCaco.cpp: In function 'U16 MaCaco_getdatabuffer()':
C:\Users\vincent\Documents\Arduino\libraries\Souliss/frame/MaCaco/MaCaco.cpp:1100: error: cast from 'U8_' to 'U16' loses precision
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp: At global scope:
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:57: error: 'long unsigned int time' redeclared as different kind of symbol
c:\program files (x86)\arduino\hardware\tools\g++arm_none_eabi\bin../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/time.h:62: error: previous declaration of 'time_t time(time_t)'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp: In function 'U8 Souliss_DigInHold(U8, U8, U8, U8_, U8)':
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:605: error: assignment of function 'time_t time(time_t_)'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:605: error: cannot convert 'uint32_t' to 'time_t(time_t_)' in assignment
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:610: error: invalid operands of types 'uint32_t' and 'time_t(time_t_)' to binary 'operator-'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:610: error: invalid operands of types 'uint32_t' and 'time_t(time_t_)' to binary 'operator-'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:610: error: invalid operands of types 'uint32_t' and 'time_t(time_t_)' to binary 'operator-'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:612: error: assignment of function 'time_t time(time_t_)'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:612: error: cannot convert 'uint32_t' to 'time_t(time_t_)' in assignment
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp: In function 'U8 Souliss_LowDigInHold(U8, U8, U8, U8_, U8)':
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:638: error: assignment of function 'time_t time(time_t_)'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:638: error: cannot convert 'uint32_t' to 'time_t(time_t_)' in assignment
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:643: error: invalid operands of types 'uint32_t' and 'time_t(time_t_)' to binary 'operator-'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:643: error: invalid operands of types 'uint32_t' and 'time_t(time_t_)' to binary 'operator-'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:643: error: invalid operands of types 'uint32_t' and 'time_t(time_t_)' to binary 'operator-'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:645: error: assignment of function 'time_t time(time_t_)'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:645: error: cannot convert 'uint32_t' to 'time_t(time_t*)' in assignment

What version of the app and framework are you using?
Arduino IDE 1.5.4r2 newest framewok version

Please provide any additional information below.

T18 code review

Original issue 38 created by fazioa on 2013-10-02T23:36:14.000Z:

Branch name:
antonino

Purpose of code changes on this branch:
con la versione attuale si riesce ad inviare i comandi ma non si legge lo stato.

When reviewing my code changes, please focus on:

After the review, I'll merge this branch into:
/master

crash at start

Original issue 24 created by fazioa on 2013-07-16T22:53:07.000Z:

What steps will reproduce the problem?

  1. App crashes at start

What version of the app and framework are you using?
Android = 3.0 ?

Please provide any additional information below.
java.lang.RuntimeException: Unable to start activity ComponentInfo{it.angelic.soulissclient/it.angelic.soulissclient.LauncherActivity}: java.lang.IllegalStateException: You must use Theme.Sherlock, Theme.Sherlock.Light, Theme.Sherlock.Light.DarkActionBar, or a derivative.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1997)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2018)
at android.app.ActivityThread.access$500(ActivityThread.java:139)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1124)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:152)
at android.app.ActivityThread.main(ActivityThread.java:4636)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalStateException: You must use Theme.Sherlock, Theme.Sherlock.Light, Theme.Sherlock.Light.DarkActionBar, or a derivative.
at com.actionbarsherlock.internal.ActionBarSherlockCompat.generateLayout(Unknown Source)
at com.actionbarsherlock.internal.ActionBarSherlockCompat.installDecor(Unknown Source)
at com.actionbarsherlock.internal.ActionBarSherlockCompat.setContentView(Unknown Source)
at com.actionbarsherlock.app.SherlockActivity.setContentView(Unknown Source)
at it.angelic.soulissclient.LauncherActivity.onCreate(Unknown Source)
at android.app.Activity.performCreate(Activity.java:4521)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1072)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1961)
... 11 more

Connection throught NAT

Original issue 2 created by fazioa on 2013-06-03T22:22:41.000Z:

What steps will reproduce the problem?

  1. Connect remotely via port forwarding to a Souliss node
  2. Use an NAT with source port masquering.

What is the expected output? What do you see instead?

Connection of user interfaces is expected to work also in remote network, rather using Souliss A4.4.1 (and previous) the connection may not be estabilished.

What version of the product are you using?

All released between A4 and A4.4.1 are affected

Troubleshooting and solution

Using a network capture is seen that Souliss doesn't handle properly the source port of an UDP frame (no issue is known for TCP connection like JSON and Modbus), this result in a loss of communication.

Up to release A4.4.1 data are sent to a fixed number port, so in case of masquering, the packet will be discarded by the NAT. This behavior came from the P2P communication between board, where all devices on LAN listen on port 230, so isn't needed to record the source port value.

Souliss patches 1 and 2 for A4.4.1 are available on the forum, these solve the issue with a standard handling of the source port. This is applied only for "User Mode" connection and is not used in case of P2P (that are not allowed out of LAN).

A public release as A4.4.2 will be released, it will include those patches.

Regards,
Dario.

Sceneries crashes

Original issue 3 created by fazioa on 2013-06-03T23:37:09.000Z:

What steps will reproduce the problem?

don't know

What is the expected output? What do you see instead?

app crash report
java.lang.RuntimeException: Unable to start activity ComponentInfo{it.angelic.soulissclient/it.angelic.soulissclient.SceneListActivity}: java.lang.RuntimeException: java.lang.NoSuchMethodException: a(Activity,int)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1654)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1670)
at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3695)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: a(Activity,int)
at com.actionbarsherlock.a.a(Unknown Source)
at com.actionbarsherlock.a.f.a(Unknown Source)
at com.actionbarsherlock.a.f.onTitleChanged(Unknown Source)
at android.app.Activity.setTitle(Activity.java:3557)
at it.angelic.soulissclient.SceneListActivity.onCreate(Unknown Source)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1618)
... 11 more
Caused by: java.lang.NoSuchMethodException: a(Activity,int)
at java.lang.Class.getMatchingConstructor(Class.java:643)
at java.lang.Class.getConstructor(Class.java:472)
... 18 more

Please use labels and text to provide additional information.

DS18B20 standard support reminder

Original issue 47 created by fazioa on 2013-12-28T22:07:20.000Z:

As agreed I kindly ask you to insert a standard support for DS18B20 1-wire temperature sensor.

I am available for testing.

Ciao
Fulvio

Flash mode in RGB typical16 possibly broken

Original issue 22 created by fazioa on 2013-07-09T22:15:48.000Z:

What steps will reproduce the problem?

  1. Open a T16 RGB detail
  2. Choose a color
  3. Press "flash"

What is the expected output? What do you see instead?
The light goes off, instead of flashing. Using White -> Flash it works, but not with other colours. Flash button has other weird effects, experimenting a bit with it.

assert fail in .buildVNetFrame

Original issue 17 created by fazioa on 2013-06-29T09:45:02.000Z:

junit.framework.AssertionFailedError: expected:<true> but was:<false>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at junit.framework.Assert.assertEquals(Assert.java:147)
at junit.framework.Assert.assertEquals(Assert.java:153)
at it.angelic.soulissclient.net.UDPHelper.buildVNetFrame(Unknown Source)
at it.angelic.soulissclient.net.UDPHelper.ping(Unknown Source)
at it.angelic.soulissclient.net.UDPHelper.checkSoulissUdp(Unknown Source)
at it.angelic.soulissclient.preferences.IpChangerListener$1.run(Unknown Source)

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Antitheft peer local node T43

Original issue 40 created by fazioa on 2013-10-08T09:53:14.000Z:

The following typical behave as T42 but is designed to run on the same node of the main antitheft logic.

U8 Souliss_Logic_T43(U8 *memory_map, U8 slot_main, U8 slot_peer)
{
// If the anti-theft is set and there is an alarm, set the output
if((memory_map[MaCaco_IN_s + slot_peer] == Souliss_T4n_Alarm))
{
// Set the peer in alarm state
memory_map[MaCaco_OUT_s + slot_peer] = Souliss_T4n_Alarm;
memory_map[MaCaco_IN_s + slot_peer] = Souliss_T4n_RstCmd;

    // Put the main in alarm
    memory_map[MaCaco_IN_s + slot_main] = Souliss_T4n_Alarm;        
}
else if((memory_map[MaCaco_IN_s + slot_peer] == Souliss_T4n_ReArm))
{   
    memory_map[MaCaco_OUT_s + slot_peer] = Souliss_T4n_RstCmd;
    memory_map[MaCaco_IN_s + slot_peer] = Souliss_T4n_RstCmd;       
}       

}

SoulissApp T19 doesn't readback at startup

Original issue 49 created by fazioa on 2014-01-22T10:29:58.000Z:

What steps will reproduce the problem?

  1. Move the slider on T19
  2. Close SoulissApp and open it back
  3. The T19 slider is back on zero position

What is the expected output? What do you see instead?
The slider should follow the actual readback from the board

SoulissApp Crash on Node select. Only portrait layout

Original issue 43 created by fazioa on 2013-11-18T23:21:19.000Z:

What steps will reproduce the problem?

  1. I use Android 2.3.6 on Samsung Mini 2 (GT-s6500)
  2. On vertical layout select a node
  3. SoulissApp Crash

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

Eclipse debug LOG:
11-18 23:52:50.109: W/dalvikvm(13754): threadid=1: thread exiting with uncaught exception (group=0x4022e560)
11-18 23:52:50.209: E/AndroidRuntime(13754): FATAL EXCEPTION: main
11-18 23:52:50.209: E/AndroidRuntime(13754): java.lang.IllegalArgumentException: no char field 'exponential'
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.EmulatedFields.put(EmulatedFields.java:459)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.EmulatedFieldsForDumping.put(EmulatedFieldsForDumping.java:83)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.text.DecimalFormatSymbols.writeObject(DecimalFormatSymbols.java:591)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.lang.reflect.Method.invokeNative(Native Method)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.lang.reflect.Method.invoke(Method.java:507)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeHierarchy(ObjectOutputStream.java:1219)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeNewObject(ObjectOutputStream.java:1575)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeObjectInternal(ObjectOutputStream.java:1847)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1689)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1653)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeFieldValues(ObjectOutputStream.java:1062)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:1008)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.text.DecimalFormat.writeObject(DecimalFormat.java:1215)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.lang.reflect.Method.invokeNative(Native Method)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.lang.reflect.Method.invoke(Method.java:507)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeHierarchy(ObjectOutputStream.java:1219)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeNewObject(ObjectOutputStream.java:1575)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeObjectInternal(ObjectOutputStream.java:1847)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1689)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1653)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeFieldValues(ObjectOutputStream.java:1143)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:413)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeHierarchy(ObjectOutputStream.java:1241)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeNewObject(ObjectOutputStream.java:1575)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeObjectInternal(ObjectOutputStream.java:1847)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1689)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1653)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.util.ArrayList.writeObject(ArrayList.java:651)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.lang.reflect.Method.invokeNative(Native Method)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.lang.reflect.Method.invoke(Method.java:507)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeHierarchy(ObjectOutputStream.java:1219)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeNewObject(ObjectOutputStream.java:1575)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeObjectInternal(ObjectOutputStream.java:1847)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1689)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1653)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeFieldValues(ObjectOutputStream.java:1143)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:413)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeHierarchy(ObjectOutputStream.java:1241)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeNewObject(ObjectOutputStream.java:1575)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeObjectInternal(ObjectOutputStream.java:1847)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1689)
11-18 23:52:50.209: E/AndroidRuntime(13754): at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1653)
11-18 23:52:50.209: E/AndroidRuntime(13754): at android.os.Parcel.writeSerializable(Parcel.java:1171)
11-18 23:52:50.209: E/AndroidRuntime(13754): at android.os.Parcel.writeValue(Parcel.java:1130)
11-18 23:52:50.209: E/AndroidRuntime(13754): at android.os.Parcel.writeMapInternal(Parcel.java:488)
11-18 23:52:50.209: E/AndroidRuntime(13754): at android.os.Bundle.writeToParcel(Bundle.java:1552)
11-18 23:52:50.209: E/AndroidRuntime(13754): at android.os.Parcel.writeBundle(Parcel.java:502)
11-18 23:52:50.209: E/AndroidRuntime(13754): at android.content.Intent.writeToParcel(Intent.java:5674)
11-18 23:52:50.209: E/AndroidRuntime(13754): at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:1341)
11-18 23:52:50.209: E/AndroidRuntime(13754): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1374)
11-18 23:52:50.209: E/AndroidRuntime(13754): at android.app.Activity.startActivityForResult(Activity.java:2827)
11-18 23:52:50.209: E/AndroidRuntime(13754): at android.support.v4.app.FragmentActivity.startActivityFromFragment(FragmentActivity.java:833)

SoulissApp LOG:
Not present

SoulissApp timers not working

Original issue 4 created by fazioa on 2013-06-04T10:18:54.000Z:

What steps will reproduce the problem?

  1. Timer function not working properly
    2.
    3.

What is the expected output? What do you see instead?

Tranne il primo esempio "Hello world", che non contiene il timer, gli altri possono essere usati con la funzione Sleep.
Funziona, provato, però ho individuato il seguente malfunzionamento:

In Android, cliccando su Sleep, Souliss App fa comparire il messaggio "Accendi - comando inviato", ma il disegno della lampadina non sempre si accende.
Si accende se lo slide Timer è a zero.
Se lo slide è molto basso non si accende (e neanche le relative luci montate su Arduino) ma l'App fa comparire ugualmente il messaggio "Accendi - comando inviato".
Se lo slide è ad un quarto della sua corsa o più alto allora tutto funziona regolarmente, il disegno si illumina, l'hardware accende le lampade.

Please use labels and text to provide additional information.

Spanish Traslation Error

Original issue 52 created by fazioa on 2014-02-24T20:36:55.000Z:

What steps will reproduce the problem?

  1. Install Souliss in Spanish
    2.
    3.

What is the expected output? What do you see instead?

Error on Traslation. Sendor de Temperatura is "Sensor de Temperatura"

What version of the app and framework are you using?

Version from 16/02 zozzariello, but it's common to previous releases

Please provide any additional information below.

Error addin DHT InSketch mode

Original issue 46 created by fazioa on 2013-12-27T14:34:10.000Z:

What steps will reproduce the problem?

  1. Load any example and try to define Insketch DHT

What is the expected output? What do you see instead?
Not workin, error compiling

What version of the app and framework are you using?
5.0.3

Please provide any additional information below.

Solution, modify line 181 on QuickCfg.h

if(QC_ENABLE && !defined(DHTSENSOR_INSKETCH))

Zozzariello JSON sintax

Original issue 51 created by fazioa on 2014-02-24T20:34:51.000Z:

JSON sintax need to be modified as per following example:

Ok, parsing solved. I found a bug, I think.

When I get http://ip:8080/structure?all returns this:
[{"id":{"hlt":255,"slot":[{"val":19,"ddesc":"Sendor de temperatura","slo":0,"typ":"52"},{"val":48,"ddesc":"Sensor de humedad","slo":2,"typ":"53"},{"val":21,"ddesc":"Sendor de temperatura","slo":4,"typ":"52"},{"val":44,"ddesc":"Sensor de humedad","slo":6,"typ":"53"},{"val":0,"ddesc":"Dimmable Light","slo":9,"typ":"19"},{"val":0,"ddesc":"ON/OFF Salida digital con timer","slo":11,"typ":"11"}],"ndesc":"Nodo O"}},
{"id":{"hlt":255,"slot":[{"val":0,"ddesc":"ON/OFF Salida digital con timer","slo":0,"typ":"11"},{"slo":2,"typ":"52"},{"slo":4,"typ":"53"},{"val":0,"ddesc":"Tira de LED RGB","slo":6,"typ":"16"}],"ndesc":"Nodo I"}},
{"id":{"hlt":127,"slot":[{"val":0,"ddesc":"ON/OFF Salida digital con timer","slo":0,"typ":"11"},{"val":19,"ddesc":"Sendor de temperatura","slo":2,"typ":"52"},{"val":53,"ddesc":"Sensor de humedad","slo":4,"typ":"53"},{"val":1,"ddesc":"Dimmable Light","slo":8,"typ":"19"},{"val":1,"ddesc":"Dimmable Light","slo":10,"typ":"19"}],"ndesc":"Nodo II"}}]

I debug with: http://json.parser.online.fr/
And then "id" index its not correctly assigned. I modified to these:

{"id":[{"hlt":255,"slot":[{"val":19,"ddesc":"Sendor de temperatura","slo":0,"typ":"52"},{"val":48,"ddesc":"Sensor de humedad","slo":2,"typ":"53"},{"val":21,"ddesc":"Sendor de temperatura","slo":4,"typ":"52"},{"val":44,"ddesc":"Sensor de humedad","slo":6,"typ":"53"},{"val":0,"ddesc":"Dimmable Light","slo":9,"typ":"19"},{"val":0,"ddesc":"ON/OFF Salida digital con timer","slo":11,"typ":"11"}],"ndesc":"Nodo O"},{"hlt":255,"slot":[{"val":0,"ddesc":"ON/OFF Salida digital con timer","slo":0,"typ":"11"},{"slo":2,"typ":"52"},{"slo":4,"typ":"53"},{"val":0,"ddesc":"Tira de LED RGB","slo":6,"typ":"16"}],"ndesc":"Nodo I"},{"hlt":127,"slot":[{"val":0,"ddesc":"ON/OFF Salida digital con timer","slo":0,"typ":"11"},{"val":19,"ddesc":"Sendor de temperatura","slo":2,"typ":"52"},{"val":53,"ddesc":"Sensor de humedad","slo":4,"typ":"53"},{"val":1,"ddesc":"Dimmable Light","slo":8,"typ":"19"},{"val":1,"ddesc":"Dimmable Light","slo":10,"typ":"19"}],"ndesc":"Nodo II"}]}

SoulissApp crash after added a program

Original issue 35 created by fazioa on 2013-09-13T21:09:52.000Z:

What steps will reproduce the problem?
...my nodes:
--Node 0: Temperature Sensor + Temperature humidity;
--Node 1: ON/OF Digitale con Timer.

  1. Click on "Programmi" and Add new program
  2. Choose Node 1 - ON/OFF Digitale...
  3. Choose "Sensor activation"
  4. Choose null or < or > or = and type temperature level.
  5. Save

What is the expected output? What do you see instead?
//

What version of the app and framework are you using?
Alpha 4.5.1

Please provide any additional information below.
The SoulissApp crash after two seconds when from home page I click "Manual"
Also the SoulissApp crash when I enter on "Scenari" and i choose one commend and I click "play"

SoulissApp Typical 18

Original issue 36 created by fazioa on 2013-09-20T00:09:18.000Z:

What steps will reproduce the problem?

  1. Use Tipical 18 - ON/OFF Step Relais
    2.
    3.

What is the expected output? What do you see instead?
The framework send correctly Souliss_T1n_OnFeedback and Souliss_T1n_OffFeedback but SoulissApp display only UNKNOW State

What version of the app and framework are you using?
Souliss 4.5.1
SoulissApp 1.2.5

Please provide any additional information below.
Probably SoulissApp don't send correct Souliss_T1n_OnCmd or Souliss_T1n_OffCmd command but only Souliss_T1n_ToogleCmd.

User-index and nodeindex issues

Original issue 1 created by fazioa on 2013-06-03T10:56:23.000Z:

What steps will reproduce the problem?

  1. Install Android app
  2. watch default values
  3. values > 128 will produce "souliss not reachable"

What is the expected output? What do you see instead?

souliss connected

Please use labels and text to provide additional information.

si può provare a generale automaticamente l'ultimo byte (tra 0x01 e 0xFE) e permettendone la variazione manuale, questo byte sarebbe da identificare come "Node Index", mentre il primo byte "User Index" può essere impostato ad un valore di default, modificabile manualmente tra 0x01 e 0x64.

In questo modo, l'User Index non verrebbe mai toccato a meno che non vengano generati due "Node Index" uguali, a quel punto l'utente dovrà intervenire manualmente per modificarli.

scene detail rename -> Crash

Original issue 19 created by fazioa on 2013-06-29T11:27:21.000Z:

What steps will reproduce the problem?

  1. Rename a scene from the scene detail screen
    2.
    3.

What is the expected output? What do you see instead?

06-29 13:26:12.871: E/AndroidRuntime(30945): java.lang.ClassCastException: it.angelic.soulissclient.adapters.SceneCommandListAdapter cannot be cast to it.angelic.soulissclient.adapters.SceneListAdapter

What version of the product are you using? On what operating system?
1.2.3

Please provide any additional information below.

SLOT swap

Original issue 16 created by fazioa on 2013-06-28T19:43:11.000Z:

What steps will reproduce the problem?

  1. Use hw switch on a node with 2 T12 and an air conditioner
  2. try switching one of the light after several idle time
  3. the air conditioner IR sender is activated instead

What is the expected output? What do you see instead?

Inverted SLOT control

Please use labels and text to provide additional information.

Happens both with sw client and hardware controls

Code development for typical 4n / Feature request

Original issue 20 created by fazioa on 2013-07-01T20:36:43.000Z:

Antitheft logics are actually not supported in the Android application, below some details for the development of the code of that feature.

This logic build a distributed antitheft system, each node that has the antitheft logic has an alarm input (a PIR sensor, a window open-switch, a watchdog from another node, ...) any alarm condition is reported to the main node. The main node use an output to drive an antitheft system or an horn.

The main node (T41) accept as command from the user interface:

define Souliss_T4n_ReArm 0x03

define Souliss_T4n_NotArmed 0x04

define Souliss_T4n_Armed 0x05

The Armed command is used to activate the antitheft alarm system, the NotArmed to deactivate it. In case of antitheft instrusion detected, the ReArm command silence the alarm condition (as example the horn) without deactive the antitheft, rather using NotArmed will also deactivate the antitheft.

Followings output state are available :

define Souliss_T4n_Antitheft 0x01

define Souliss_T4n_NoAntitheft 0x00

define Souliss_T4n_InAlarm 0x03

If the antitheft is deactivated the output is at NoAntitheft value, and to Antitheft is the same is active. If the alarm is activated, the output goes to InAlarm.

The peer node (T42) are used to generate an alarm condition to the main one (T41) and so there are no commands available from the user interface, but just the output condition as :

define Souliss_T4n_InAlarm 0x03

define Souliss_RstCmd 0x00

This let the user know witch of the nodes over the chain has generated the alarm.

Is suggested that an InAlarm condition for T41 and T42 generates an event to the user, like when an incoming email or tweet is waiting to be read.

SoulissApp automatic IP discover

Original issue 50 created by fazioa on 2014-01-22T10:37:15.000Z:

What steps will reproduce the problem?

  1. Clear the IP address in SoulissApp
  2. Go back to the menu
  3. The IP address is automatically discovered via broadcast

What is the expected output? What do you see instead?

It works but may mislead users, an additional discover option in the menu that works even if the IP adress isn't cleared it will help.

Logic T12, buttons doesn't follow the state in AUTO mode

Original issue 14 created by fazioa on 2013-06-26T20:08:34.000Z:

What steps will reproduce the problem?

  1. Use a T12 logic
  2. From the Android interface, set in AUTO mode
  3. From a digital input, generate an event that trigger the output for AUTO mode

What is the expected output? What do you see instead?

Once selected AUTO mode, the user interface shows properly that the device is OFF (AUTO), the state follows the actual state in case of a triggered event.

If an event is triggered (like someone over a PIR sensor) the output goes to ON (AUTO) but the ON / OFF buttons doesn't follow the new state. The result is that we can have the device ON (for AUTO mode) and still the OFF button disabled.

The ON / OFF button should follow the state also if in AUTO mode.

Thanks,
Dario.

Looper.prepare() error

Original issue 25 created by fazioa on 2013-07-16T23:39:57.000Z:

What steps will reproduce the problem?

  1. Go to option/ DB
  2. Export a DB and drop it
  3. Re import the exported DB twice

What is the expected output? What do you see instead?
Second import crashes because first is still running

Please use labels and text to provide additional information.
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
Caused by: java.lang.RuntimeException: Only one Looper may be created per thread
at android.os.Looper.prepare(Looper.java:78)
at android.os.Looper.prepare(Looper.java:73)
at it.angelic.soulissclient.helpers.ImportDatabaseCSVTask.doInBackground(Unknown Source)
at it.angelic.soulissclient.helpers.ImportDatabaseCSVTask.doInBackground(Unknown Source)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
... 5 more

blocked chibiduino

Original issue 21 created by fazioa on 2013-07-07T21:12:08.000Z:

What steps will reproduce the problem?

  1. Let a node run for more than one day
  2. Node does not respond to commands anymore

What is the expected output? What do you see instead?

wireless communication seems to be blocked

On Akiba website a bugfix may be available, Dario said it coulde solve the issue. Souliss watchdog doesnàt seem to be enought.

function Souliss_DigIn (pin,value,memory_map,slot) returns 1 too many times.

Original issue 45 created by fazioa on 2013-12-18T01:29:26.000Z:

What steps will reproduce the problem?
Calling function Souliss_DigIn (pin,value,memory_map,slot)

What is the expected output? What do you see instead?
When pin turns to High, Souliss_DigIn() must return 1 only the first call, until pin turns again Low.
However it returns 1 every call while pin is High

What version of the app and framework are you using?.
Version: 1348 Souliss release A5.0.2
File SoulissBase.cpp

Solved problem changing line 507 outside of else stament

U8 Souliss_DigIn(U8 pin, U8 value, U8 *memory_map, U8 slot)
{
// If pin is on, set the "value"
if(digitalRead(pin) && !InPin[pin])
{
memory_map[MaCaco_IN_s + slot] = value;

    InPin[pin] = true;
    return MaCaco_DATACHANGED;
}
else if(!digitalRead(pin))
{
    InPin[pin] = false;
}
return MaCaco_NODATACHANGED;//this line must be outside of else stament

}

After adding widgets crash the app

Original issue 27 created by fazioa on 2013-07-22T23:45:06.000Z:

What is the expected output? What do you see instead?
After adding widgets crash the app

What version of the app and framework are you using?

Please provide any additional information below.

java.lang.RuntimeException: Unable to start receiver it.angelic.soulissclient.SoulissWidget: android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2140)
at android.app.ActivityThread.access$1500(ActivityThread.java:128)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1211)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4514)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0
at android.database.AbstractCursor.checkPosition(AbstractCursor.java:400)
at android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.java:136)
at android.database.AbstractWindowedCursor.getShort(AbstractWindowedCursor.java:62)
at it.angelic.soulissclient.db.SoulissTypicalDTO.<init>(Unknown Source)
at it.angelic.soulissclient.db.SoulissDBHelper.getSoulissTypical(Unknown Source)
at it.angelic.soulissclient.SoulissWidget.forcedUpdate(Unknown Source)
at it.angelic.soulissclient.SoulissWidget.onUpdate(Unknown Source)
at android.appwidget.AppWidgetProvider.onReceive(AppWidgetProvider.java:61)
at it.angelic.soulissclient.SoulissWidget.onReceive(Unknown Source)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2133)
... 10 more

Temperature control T31

Original issue 13 created by fazioa on 2013-06-11T20:21:36.000Z:

The temperature control T31 is not implemented in the Android interface,
is requested a faceplate with increase and decrease buttons, the T31 has two slot one for measured temperature and another for delta with requested setpoint.

The temperature is stored in values from 0x10 to 0x7F that correspond to maximum and minumum temperature values measured or scaled, at Android interface a scaling is requested to display the values in Celsius.

SoulissApp T19

Original issue 39 created by fazioa on 2013-10-03T06:50:11.000Z:

What steps will reproduce the problem?
1.Use T19
2.Use the program function for T19
3.

What is the expected output? What do you see instead?
1.In the brightness bar there is wrong "Red" label
2.Command "Send to all" don't work (sending wrong typical)
3.In Programmable Action, there is some wrong label, like Command not Selected"

What version of the app and framework are you using?
SoulissApp V 1.2.5 Framework A4.5.1

T41 GUI problem when you reset allarm

Original issue 41 created by fazioa on 2013-10-10T14:44:09.000Z:

What steps will reproduce the problem?
1.T41 go in Allarm
2.Reset Allarm

What is the expected output? What do you see instead?
See the picture

What version of the app and framework are you using?
4.5.1 app 1.2.5

Please provide any additional information below.
See the picture

AndroidAirConditioner, AndroidRGBLamp not proceed to detail

Original issue 11 created by fazioa on 2013-06-11T08:50:55.000Z:

What steps will reproduce the problem?

The samples (ssExtra_ex01_AndroidRGBLamp and ssExtra_ex02_AndroidAirConditioner) does not proceed to the control screen when executed on typical screen landscape mode.

The test was performed on the devices: Sansung Galaxy tab 7 "GT P3100 Galaxy S3 and mini.

IllegalArgumentException: provider==null in DataService

Original issue 18 created by fazioa on 2013-06-29T10:01:21.000Z:

java.lang.RuntimeException: Unable to create service it.angelic.soulissclient.SoulissDataService: java.lang.IllegalArgumentException: provider==null
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2373)
at android.app.ActivityThread.access$1600(ActivityThread.java:130)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1277)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: provider==null
at android.location.LocationManager.requestLocationUpdates(LocationManager.java:477)
at it.angelic.soulissclient.SoulissDataService.onCreate(Unknown Source)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2363)
... 10 more

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

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.