星期五, 1月 31, 2014

HCI Control on Raspberry Pi

1. Install libraries

sudo apt-get install libusb-dev libdbus-1-dev libglib2.0-dev libudev-dev
libical-dev libreadline-dev

2. Download, compile and install bluez


3. Enable ssh


4. Use nmap to find ip if you don't use static ip. It is for remote control

grep ip_address /private/var/db/dhcpd_leases | cut -d= -f2 | nmap -iL - -sn


5. Use non-CSR bt 4.0 dongle

Note:
eSense d704
  *problem for becoming iBeacon
  *Do blescan. Return some results and then error is returned.

iogear bt dongle work correctly.


6. turn on pio 13 in firmeta protocol.
0x91 0x20 0x00

BLE mini:

RBL_CHAR_RX_UUID                         "713D0003-503E-4C75-BA94-3148F18D941E"
Handler 0x19

Command sequence in gatttool:
char-write-req 19 91
char-write-req 19 20
char-write-req 19 00


ref:
http://superuser.com/questions/48611/can-i-monitor-who-is-using-my-mac-os-x-internet-sharing


星期三, 6月 03, 2009

The installation source for this product is not available

Error during installing VS2005 SP1

Solution:
http://dotnetslackers.com/Visual_Studio/re-49043_Error_When_Installing_Visual_Studio_2005_SP1_The_installation_source_for_this_product_is_not_available.aspx

http://support.microsoft.com/default.aspx/kb/925336

星期六, 4月 18, 2009

星期二, 1月 27, 2009

新年

過年關在家,就會想買東西。
買了東西,過年後才能送到->沒有新玩具玩->又買了更多東西。


星期一, 1月 05, 2009

我的星期天

花了10 USD 買遊戲 -> 等了一小時下載完成 -> 沒有mouse不好操作->出去買mouse->mouse 不會動 -> 重灌 XP -> 重新下載遊戲 -> 唔...該睡了,明天要上班

呃,什麼都沒玩到

星期五, 12月 26, 2008

Note for installing kscope in Mac OSX 10.5

1. Install latest X11 from http://xquartz.macosforge.org/trac/wiki 
2. Install Fink & FinkCommander
3. Change setting to get unstable package
4. Install graphviz to get Dot
5. Install ctag to get csope
6. Install kscope
 

星期一, 10月 20, 2008

多那多那

有那一天天氣晴朗,要去市場的路上,
看到一個破舊馬車,載著一條小犢牛,

真可愛的小犢牛, 牠已經被人買去,
牠那副眼睛帶著悲傷一直瞪著我.

多那 多那 多那 多那, 載著一條小犢牛,
多那 多那 多那 多那, 馬車一直開過去.

青青天空陣陣涼風, 燕子在空中飛翔,
破舊馬車搖搖擺擺, 載著小犢牛往市場去,
假如我有一副堅強能飛的翅膀,
我就會立刻飛到牠那快樂的牧場.

多那 多那 多那 多那, 載著一條小犢牛,
多那 多那 多那 多那, 馬車一直開過去.

我就那頭牛,不過不是前往快樂的牧場 haha