Skip to: Site menu | Main content


Welcome to PSP-Programming.com, a place for developers to get together.

Welcome to the forums. Here you can find other user tutorials as well as homebrew releases and the source code repository. You can also ask for help with your code here and post your own homebrew!

PSP-Programming.com Forums
February 10, 2012, 01:01:43 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

News: Check out the Code Section!
Home Help Search Shop Login Register
Digg This!
Pages: 1 [2]
Print
Author Topic: [C] AdHoc Tutorials/Samples  (Read 15212 times)
pspjoke
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10
721.54 points

View Inventory
Send Money to pspjoke

View Profile
« Reply #15 on: October 06, 2008, 12:26:52 PM »

i can wait, but ill try and do it to.
if i manage to fix it, ill post(or edit) saying i did.
thanks.
Logged


Vincent
Mudkips
C/C++ Developer
Hero Member
*

Karma: +76/-2
Offline Offline

Posts: 1384
9999999.99 points

View Inventory
Send Money to Vincent

Me and my 'Vette


View Profile WWW
« Reply #16 on: October 09, 2008, 01:09:18 PM »

It has been a long time, but look in your Makefile and post the libraries that you are linking. I believe that is your problem. Wink I'd tell you which libraries, but I can't remember, and my Ubuntu box went down for the moment. I'll get back to you when I find something though.
Logged

mowglisanu

C/C++ Developer
Hero Member
*

Karma: +36/-11
Offline Offline

Posts: 787
0.00 points

View Inventory
Send Money to mowglisanu


View Profile
« Reply #17 on: October 10, 2008, 10:26:34 AM »

Well, I updated it a while ago.
sorry for not indicating so.
Logged

Check out my:
 Audio lib
 Pmf Viewer
pspjoke
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10
721.54 points

View Inventory
Send Money to pspjoke

View Profile
« Reply #18 on: October 10, 2008, 03:11:22 PM »

Well, I updated it a while ago.
sorry for not indicating so.

oh, well thanks man. lol
Logged
M4nu
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1
141.78 points

View Inventory
Send Money to M4nu

View Profile
« Reply #19 on: November 04, 2008, 10:26:25 AM »

hey BlackPhoenix !

Thanks for your tuto !!

I would like to communicate with another device than a PSP. For now I can just enter the ad-hoc wifi network. The PSP gives me an IP, but I don't know what to do : where can I find the PSP IP and port to open a communication socket ? Is there a special protocol to stick with ?
Logged
st3ph3n
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 12
810.47 points

View Inventory
Send Money to st3ph3n

View Profile
« Reply #20 on: November 26, 2009, 05:59:09 AM »

Sorry for bumping this old thread. But the link to the adhoc example modified to work in 3xx by mowglisanu is dead. Can anyone, kindly please repost the links. Thanks in advance.
Logged
mowglisanu

C/C++ Developer
Hero Member
*

Karma: +36/-11
Offline Offline

Posts: 787
0.00 points

View Inventory
Send Money to mowglisanu


View Profile
« Reply #21 on: November 26, 2009, 11:42:15 AM »

I couldn't find it so I tried to do it over, I didn't get to test it though
adhoc-sample
Logged

Check out my:
 Audio lib
 Pmf Viewer
st3ph3n
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 12
810.47 points

View Inventory
Send Money to st3ph3n

View Profile
« Reply #22 on: November 27, 2009, 06:43:29 AM »

Hi mowglisanu, thanks for the reply. Sorry, but I have to trouble you again. The sample does not work. It only show a black screen then the psp just shut down.
Logged
mowglisanu

C/C++ Developer
Hero Member
*

Karma: +36/-11
Offline Offline

Posts: 787
0.00 points

View Inventory
Send Money to mowglisanu


View Profile
« Reply #23 on: November 27, 2009, 06:50:50 AM »

I'll try to fix it when i find a psp
EDITremove loadutil.o from the makefile,
sdl_psp_exception_handler and pspDebugInstallErrorHandler from main.c
« Last Edit: November 27, 2009, 07:21:02 AM by mowglisanu » Logged

Check out my:
 Audio lib
 Pmf Viewer
st3ph3n
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 12
810.47 points

View Inventory
Send Money to st3ph3n

View Profile
« Reply #24 on: November 30, 2009, 07:23:42 AM »

Thanks for the quick reply Razz! But the sample get stuck when it reaches the adhocSelect() part Crying or Very sad. It say:
Select a server to connect to, or triangle to return
****certain mac add*****: adhoc
after this it response only to triangle key to exit.
Logged
mowglisanu

C/C++ Developer
Hero Member
*

Karma: +36/-11
Offline Offline

Posts: 787
0.00 points

View Inventory
Send Money to mowglisanu


View Profile
« Reply #25 on: November 30, 2009, 09:57:25 AM »

The client and the server freezes?
One psp has to be client and one the server, if you cant even select them i don't know whats wrong. And I don't have 2 psps to test it.
Logged

Check out my:
 Audio lib
 Pmf Viewer
st3ph3n
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 12
810.47 points

View Inventory
Send Money to st3ph3n

View Profile
« Reply #26 on: December 01, 2009, 05:21:41 AM »

Oh that's sad. Yes your right both psp freezes before I can select client or server. When it reaches the "case PSP_LISTING" under the adhocSelect() function. It show the message: "Select a server to connect to, or triangle to return" follow by the mac address. But nothing else follow. No response to any keypress except for triangle key.  I think the program does not even enter the "case PSP_SELECTING" since the message "Waiting for %s to accept the connection" "To cancel press O" did not show. By the way I did select Automatic in the XMB "Network Settings > Ad Hoc Mode". Could I have miss any other setting required here?
Logged
mowglisanu

C/C++ Developer
Hero Member
*

Karma: +36/-11
Offline Offline

Posts: 787
0.00 points

View Inventory
Send Money to mowglisanu


View Profile
« Reply #27 on: December 29, 2009, 12:17:51 PM »

Okay I had the wrong pspadhoc.c in there, that one was from another project
This is the right one here.
I tested it on a 5.00m33-6 and a 5.50GEN B(FULL)
Logged

Check out my:
 Audio lib
 Pmf Viewer
Pages: 1 [2]
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.433 seconds with 36 queries.
Sister Sites: Guitar Hero 4   BrokeniTouch.com