Reply
Thread Tools
Posts: 290 | Thanked: 269 times | Joined on Apr 2010 @ Brussels
#1
Hi

Want to program NFC tag to toggle Bluetooth.
Can this be done via NFC interactor?

Could better contact them directly but someone might know how to do this? Thanks!
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#2
Did you try using profilematic?
 
Posts: 290 | Thanked: 269 times | Joined on Apr 2010 @ Brussels
#3
Well have some NFC stickers and want to program them.
So stick that sticker in my car, tapping it and BT starts or connects to my kit.

ProfileMatic can be configured by Cell-ID or so but this is not the same...
 
Posts: 335 | Thanked: 285 times | Joined on Sep 2012 @ Trento, Italy
#4
Originally Posted by wout.martens View Post
Well have some NFC stickers and want to program them.
So stick that sticker in my car, tapping it and BT starts or connects to my kit.

ProfileMatic can be configured by Cell-ID or so but this is not the same...
The latest version of profilematic also supports NFC tags you can find it in the store or in the official thread...
http://talk.maemo.org/showthread.php?t=79642
 
Posts: 290 | Thanked: 269 times | Joined on Apr 2010 @ Brussels
#5
Yes true and for activating it this works perfectly.
But not for deactivating it.
 
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#6
It works also for deactivation. Just enable the toggle condition in the NFC condition and in Bluetooth action restore previous mode.

Edit: My approach was a little different. I didn't enable the toggle condition as my NFC tag is on the car holder. My ProfileMatic rule activates and remains active as long as it "sees" the NFC tag. Once I remove the phone from the holder the NFC tag is no longer seen and everything set in that rule returns to previous mode.

Right now I have this set up like this:

On rule activate:

- Turn on BT
- Start Music Player
- Start In Car Home Screen

On rule deactivate:

- Turn off BT
- Kill Music Player, In Car Home Screen and Nokia Drive (if I've started it from the In Car Home Screen)

I should add activate lock screen to my script that kills the apps but I haven't gotten around to it...

Last edited by slarti; 2012-11-06 at 13:22.
 

The Following 2 Users Say Thank You to slarti For This Useful Post:
Posts: 290 | Thanked: 269 times | Joined on Apr 2010 @ Brussels
#7
Alright that's a good idea.
could you share your script in order to have a look?

thanks again for answer.
 
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#8
Originally Posted by wout.martens View Post
Alright that's a good idea.
could you share your script in order to have a look?

thanks again for answer.
Sure.

Here are the ProfileMatic settings and scripts. Start commands for the apps are copied straight from their .desktop-files.
Attached Images
   
Attached Files
File Type: txt startajo.sh.txt (261 Bytes, 153 views)
File Type: txt stopajo.sh.txt (82 Bytes, 128 views)
 

The Following 4 Users Say Thank You to slarti For This Useful Post:
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#9
Look here for a much better solution for this.
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:43.